1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-19 20:00:29 +01:00
openstamanager/modules/utenti/variables.php
2020-02-14 17:02:16 +01:00

12 lines
240 B
PHP
Executable File

<?php
$record = \Models\User::find($id_record);
$reset_token = $record->reset_token;
return [
'username' => $record->username,
'reset_token' => $reset_token,
'reset_link' => BASEURL.'/reset.php?reset_token='.$reset_token,
];