Remove inital flag after user changed password
Signed-off-by: Jonas <jonas.blaesche@uni-konstanz.de>
This commit is contained in:
parent
36cd7ad290
commit
15366967d0
|
@ -326,6 +326,7 @@ class LostController extends Controller {
|
|||
$this->twoFactorManager->clearTwoFactorPending($userId);
|
||||
|
||||
$this->config->deleteUserValue($userId, 'core', 'lostpassword');
|
||||
$this->config->deleteUserValue($userId, 'core', 'initial');
|
||||
@\OC::$server->getUserSession()->unsetMagicInCookie();
|
||||
} catch (HintException $e){
|
||||
return $this->error($e->getHint());
|
||||
|
|
Loading…
Reference in New Issue