This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[fix] user name must also be a valid email (
#2196
)
version-14
Rushabh Mehta
8 years ago
committed by
GitHub
parent
dc397b5949
commit
5edcf3ccda
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
frappe/core/doctype/user/user.py
+ 1
- 0
frappe/core/doctype/user/user.py
View File
@@ -53,6 +53,7 @@ class User(Document):
if self.name not in STANDARD_USERS:
self.validate_email_type(self.email)
self.validate_email_type(self.name)
self.add_system_manager_role()
self.set_system_user()
self.set_full_name()
Write
Preview
Loading…
Cancel
Save