aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r--rhodecode/model/forms.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py
index 52f57afa..17be634e 100644
--- a/rhodecode/model/forms.py
+++ b/rhodecode/model/forms.py
@@ -84,8 +84,8 @@ def ValidUsername(edit, old_data):
raise formencode.Invalid(
_('Username may only contain alphanumeric characters '
'underscores, periods or dashes and must begin with '
- 'alphanumeric character'),
- value,
+ 'alphanumeric character'),
+ value,
state
)
@@ -116,8 +116,8 @@ def ValidUsersGroup(edit, old_data):
raise formencode.Invalid(
_('RepoGroup name may only contain alphanumeric characters '
'underscores, periods or dashes and must begin with '
- 'alphanumeric character'),
- value,
+ 'alphanumeric character'),
+ value,
state
)