1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Aggiunta reset password

This commit is contained in:
Thomas Zilio
2019-07-16 15:43:15 +02:00
parent 9670976ef3
commit 59977113b3
8 changed files with 197 additions and 10 deletions

View File

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