mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
This commit is contained in:
parent
ca09129128
commit
d5bd048507
@ -39,7 +39,7 @@ class ForgotPassFormHandler
|
||||
}
|
||||
if ($builder->getPostData()['resetType'] == "sms") {
|
||||
$user = $users->find($user->id);
|
||||
$password = str_random(8);
|
||||
$password = rand(000000,999999);
|
||||
$user->setAttribute('password', $password);
|
||||
$users->save($user);
|
||||
if (!is_null($user->gsm_phone)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user