change-password: Use setData instead of deprecated methods after password change to refresh webapp.

This commit is contained in:
Leon 2022-02-05 21:02:19 +01:00
parent 0a6a8fa299
commit d9d21845ba
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
$oAccount->SetPassword($sNewPassword);
$oActions->SetAuthToken($oAccount);
return $this->jsonResponse(__FUNCTION__, $oActions->GetSpecAuthToken());
return $this->jsonResponse(__FUNCTION__, $oActions->AppData(false));
}
public static function encrypt(string $algo, string $password)