diff --git a/import/keycloak-themes/catenax-shared/login/resources/js/Main.js b/import/keycloak-themes/catenax-shared/login/resources/js/Main.js index 7b7bc4f0..6b75ff12 100644 --- a/import/keycloak-themes/catenax-shared/login/resources/js/Main.js +++ b/import/keycloak-themes/catenax-shared/login/resources/js/Main.js @@ -136,7 +136,6 @@ const Messages = { HAS_UPPER: 'contains upper case characters [A-Z]', HAS_NUMBER: 'contains numbers [0-9]', HAS_SPECIAL: 'contains characters other than [a-z] [A-Z] [0-9]', - NOT_USERNAME: 'is not equal to your username', OK_CONFIRM: 'confirmation and password are equal', } } @@ -150,7 +149,6 @@ class Validator { ['HAS_UPPER', /[A-Z]/], ['HAS_NUMBER', /\d/], ['HAS_SPECIAL', /[^a-zA-Z0-9]/], - ['NOT_USERNAME', (expr) => expr !== '' && expr !== State.getInstance().atts.username], ['OK_CONFIRM', (expr) => expr !== '' && expr === State.getInstance().atts.confirm], ]