Code refactoring

Enable password validation (password change plugins)
This commit is contained in:
RainLoop Team 2014-10-04 22:31:29 +04:00
parent 8af2140e7a
commit 78f09856e3
8 changed files with 53 additions and 57 deletions

View file

@ -70,14 +70,14 @@
}
}
if (oData.Logout || Consts.Values.AjaxErrorLimit < Globals.iAjaxErrorCount)
if (oData.ClearAuth || oData.Logout || Consts.Values.AjaxErrorLimit < Globals.iAjaxErrorCount)
{
if (window.__rlah_clear)
{
window.__rlah_clear();
}
if (Globals.__APP__)
if (!oData.ClearAuth && Globals.__APP__)
{
Globals.__APP__.loginAndLogoutReload(true);
}