Przeglądaj źródła

[minor] allow ignore_validate for user

version-14
Rushabh Mehta 8 lat temu
rodzic
commit
a703e3f882
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/core/doctype/user/user.py

+ 1
- 1
frappe/core/doctype/user/user.py Wyświetl plik

@@ -150,7 +150,7 @@ class User(Document):
])

def email_new_password(self, new_password=None):
if new_password and not self.in_insert:
if new_password and not getattr(self, 'in_insert', False):
_update_password(self.name, new_password)

if self.send_password_update_notification:


Ładowanie…
Anuluj
Zapisz