N°2313 - Fix regression: No more validation message on password update in the end-users portal

This commit is contained in:
Molkobain
2020-02-17 15:51:38 +01:00
parent 0b5ee1e05c
commit a127ca9ca0

View File

@@ -186,7 +186,7 @@ $(function()
if(sMessageType === 'success')
{
// If not redirecting in a modal, will be set as session message
if((sRuleType === 'redirect') && (bRedirectInModal === false))
if((sRuleType === 'redirect') && (bRedirectInModal === false) && (sRedirectUrl !== null))
{
oHelpBlock = null;
}