Merge branch 'profile'

This commit is contained in:
SleepWalker
2016-03-21 20:28:18 +02:00
6 changed files with 31 additions and 13 deletions

View File

@ -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.');
}