Commit 09e2484d authored by Mario Di Vece's avatar Mario Di Vece

minor fix

parent 906bc816
......@@ -98,7 +98,7 @@
}
// Validate user credentials
if (principalContext.ValidateCredentials(model.Username, model.CurrentPassword))
if (principalContext.ValidateCredentials(model.Username, model.CurrentPassword) == false)
{
throw new Exception(Settings.ClientSettings.Alerts.ErrorInvalidCredentials);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment