autoname calls
implement getRandomName function
This commit is contained in:
parent
0e01568ccd
commit
b99925060a
5 changed files with 6 additions and 5 deletions
|
@ -31,7 +31,7 @@ function lostpass_post(App $a)
|
|||
$a->internalRedirect();
|
||||
}
|
||||
|
||||
$pwdreset_token = autoname(12) . mt_rand(1000, 9999);
|
||||
$pwdreset_token = Strings::getRandomName(12) . mt_rand(1000, 9999);
|
||||
|
||||
$fields = [
|
||||
'pwdreset' => $pwdreset_token,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue