|
@@ -149,7 +149,7 @@ class UserUpsert(graphene.Mutation):
|
|
ava = None
|
|
ava = None
|
|
acl = []
|
|
acl = []
|
|
|
|
|
|
- if "password" in user and len(user["password"] < 3):
|
|
|
|
|
|
+ if "password" in user and len(user["password"]) < 3:
|
|
raise Exception("Не вірні дані (пароль)")
|
|
raise Exception("Не вірні дані (пароль)")
|
|
elif "password" in user:
|
|
elif "password" in user:
|
|
password = str(user.pop("password"))
|
|
password = str(user.pop("password"))
|