create initial user

remotes/1725865088694522691/master
Mustafa Yontar 4 years ago
parent a5e3dfbae8
commit 77641aa538
  1. 2
      models/Union.py

@ -27,5 +27,5 @@ class Union(Document):
user.union = self
password = choices(printable, k=10)
user.password = generate_password_hash(password)
# TODO: send mail or etc
# TODO: send password via mail or sms or nothing
user.save()

Loading…
Cancel
Save