Improving change password functional

This commit is contained in:
RainLoop Team 2014-04-19 03:41:10 +04:00
parent cdbc5904fb
commit db5835a4c3
34 changed files with 388 additions and 71 deletions

View file

@ -18,6 +18,12 @@ class Notifications
const AccountTwoFactorAuthRequired = 120;
const AccountTwoFactorAuthError = 121;
const CouldNotSaveNewPassword = 130;
const CurrentPasswordIncorrect = 131;
const NewPasswordShort = 132;
const NewPasswordWeak = 133;
const NewPasswordForbidden = 134;
const CantGetMessageList = 201;
const CantGetMessage = 202;
const CantDeleteMessage = 203;
@ -81,6 +87,13 @@ class Notifications
self::AccountNotAllowed => 'AccountNotAllowed',
self::AccountTwoFactorAuthRequired => 'AccountTwoFactorAuthRequired',
self::AccountTwoFactorAuthError => 'AccountTwoFactorAuthError',
self::CouldNotSaveNewPassword => 'CouldNotSaveNewPassword',
self::CurrentPasswordIncorrect => 'CurrentPasswordIncorrect',
self::NewPasswordShort => 'NewPasswordShort',
self::NewPasswordWeak => 'NewPasswordWeak',
self::NewPasswordForbidden => 'NewPasswordForbidden',
self::CantGetMessageList => 'CantGetMessageList',
self::CantGetMessage => 'CantGetMessage',
self::CantDeleteMessage => 'CantDeleteMessage',