autoname calls

implement getRandomName function
This commit is contained in:
Adam Magness 2018-11-08 10:22:20 -05:00
commit b99925060a
5 changed files with 6 additions and 5 deletions

View file

@ -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,