mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Merge branch 'profile'
This commit is contained in:
@ -73,7 +73,6 @@ class RegistrationForm extends ApiForm {
|
||||
$account->username = $this->username;
|
||||
$account->password = $this->password;
|
||||
$account->status = Account::STATUS_REGISTERED;
|
||||
$account->generateAuthKey();
|
||||
if (!$account->save()) {
|
||||
throw new ErrorException('Account not created.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user