Commit 510237d7 authored by Dan Pascu's avatar Dan Pascu

Fixed case sensitivity issue in the username field

parent b04a6b50
...@@ -263,7 +263,7 @@ class AddAccountDialog(base_class, ui_class): ...@@ -263,7 +263,7 @@ class AddAccountDialog(base_class, ui_class):
self.email_address_editor.statusChanged.connect(self._SH_ValidityStatusChanged) self.email_address_editor.statusChanged.connect(self._SH_ValidityStatusChanged)
self.display_name_editor.regexp = re.compile('^.*$') self.display_name_editor.regexp = re.compile('^.*$')
self.name_editor.regexp = re.compile('^.+$') self.name_editor.regexp = re.compile('^.+$')
self.username_editor.regexp = re.compile('^[a-z1-9][a-z0-9_.-]{1,65}[a-z0-9]$') self.username_editor.regexp = re.compile('^[a-z1-9][a-z0-9_.-]{1,65}[a-z0-9]$', re.I | re.L)
self.sip_address_editor.regexp = re.compile('^[^@]+@.+$') self.sip_address_editor.regexp = re.compile('^[^@]+@.+$')
self.password_editor.regexp = re.compile('^.*$') self.password_editor.regexp = re.compile('^.*$')
self.new_password_editor.regexp = re.compile('^.{8,}$') self.new_password_editor.regexp = re.compile('^.{8,}$')
......
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