fix: spell check in Validation Message

Change unedrscore to underscore
This commit is contained in:
Kenneth Sequeira
2021-09-16 15:59:32 +05:30
committed by GitHub
parent af15d978c6
commit 9fd59b5d38

View File

@@ -39,7 +39,7 @@ class CustomUser(User):
frappe.throw(_("Username already exists."))
if not re.match("^[A-Za-z0-9_]*$", self.username):
frappe.throw(_("Username can only contain alphabets, numbers and unedrscore."))
frappe.throw(_("Username can only contain alphabets, numbers and underscore."))
if underscore_condition:
frappe.throw(_("First and Last character of username cannot be Underscore(_)."))