Remove password hash generation for OAuth
May be needed if a password is requested to confirm the action. In this case, you will need to confirm the action via OAuth.
This commit is contained in:
parent
9f2923adf8
commit
60c66eac01
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class RegLog extends Page
|
|||
$user = $this->c->users->create();
|
||||
|
||||
$user->username = $this->nameGenerator($provider);
|
||||
$user->password = \password_hash($this->c->Secury->randomPass(72), \PASSWORD_DEFAULT);
|
||||
$user->password = 'oauth';
|
||||
$user->group_id = $this->c->config->i_default_user_group;
|
||||
$user->email = $provider->userEmail;
|
||||
$user->email_confirmed = $provider->userEmailVerifed ? 1 : 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue