openstamanager/modules/utenti/variables.php

12 lines
240 B
PHP
Raw Normal View History

2019-07-16 15:43:15 +02:00
<?php
$record = \Models\User::find($id_record);
$reset_token = $record->reset_token;
return [
'username' => $record->username,
'reset_token' => $reset_token,
2019-07-25 12:54:28 +02:00
'reset_link' => BASEURL.'/reset.php?reset_token='.$reset_token,
2019-07-16 15:43:15 +02:00
];