Hide "reset password" on the login screen if system emails can't be sent.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
d16bc7a465
commit
44fbff4410
@@ -207,7 +207,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$scope.allowPasswordReset = Umbraco.Sys.ServerVariables.umbracoSettings.allowPasswordReset;
|
||||
$scope.allowPasswordReset = Umbraco.Sys.ServerVariables.umbracoSettings.canSendRequiredEmail && Umbraco.Sys.ServerVariables.umbracoSettings.allowPasswordReset;
|
||||
|
||||
$scope.showLogin = function () {
|
||||
$scope.errorMsg = "";
|
||||
|
||||
Reference in New Issue
Block a user