Commit e615485d authored by Israel's avatar Israel

appsetings fields cleaned

parent dbb75f8d
export class Alerts {
errorAlertBody: string;
errorAlertTitle: string;
errorInvalidCredentials: string;
errorInvalidDomain: string;
errorPasswordChangeNotAllowed: string;
......@@ -8,7 +8,6 @@ export class ViewOptions {
applicationTitle: string;
changePasswordForm: ChangePasswordForm;
changePasswordTitle: string;
errorMessages: string[];
recaptcha: Recaptcha;
showPasswordMeter: boolean;
defaultDomain: string;
......@@ -29,7 +29,6 @@ namespace Unosquare.PassCore.Web.Models
public bool ShowPasswordMeter { get; set; }
public ChangePasswordForm ChangePasswordForm { get; set; }
public ErrorsPasswordForm ErrorsPasswordForm { get; set; }
public List<string> ErrorMessages { get; set; }
public List<string> RestrictedADGroups { get; set; }
public Recaptcha Recaptcha { get; set; }
public string ApplicationTitle { get; set; }
......@@ -62,8 +61,6 @@ namespace Unosquare.PassCore.Web.Models
public class Alerts
public string ErrorAlertBody { get; set; }
public string ErrorAlertTitle { get; set; }
public string ErrorInvalidCredentials { get; set; }
public string ErrorInvalidDomain {get; set; }
public string ErrorPasswordChangeNotAllowed { get; set; }
......@@ -47,27 +47,15 @@
"PasswordMatch": "Passwords do not match"
"CheckRestrictedAdGroups": true,
"DefaultDomain": "", // Set your default AD domain here, or non "@" logins will not work!
"DefaultDomain": "", // Set your default AD domain here, or non "@" logins will not work!
"RestrictedADGroups": [
"Domain Admins",
"Enterprise Admins"
"ErrorMessages": [
"System Error",
"Field is required",
"Fields don't match",
"We could not find your user account",
"The username and current password you provided are invalid",
"Could not verify you are not a robot",
"Password change is not permitted",
"Invalid Domain"
"Alerts": {
"SuccessAlertTitle": "You have changed your password successfully.",
"SuccessAlertBody": "Please note it may take a few hours for your new password to reach all domain controllers.",
"ErrorAlertTitle": "There was an error changing your password",
"ErrorAlertBody": "Error Information: ",
"ErrorPasswordChangeNotAllowed": "You are not allowed to change your password. Please contact your system administrator.",
"ErrorInvalidCredentials": "You need to provide the correct current password.",
"ErrorInvalidDomain": "You have supplied an invalid domain to logon to."
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