优化代码

dependabot/npm_and_yarn/fir_admin/axios-0.21.2
MMXX 3 years ago
parent 9b9be3fcf9
commit d930603919
  1. 2
      fir_ser/api/views/login.py

@ -405,7 +405,7 @@ class RegistView(APIView):
new_data = {
"username": random_username,
"password": password,
"first_name": random_username[:8],
"first_name": str(username)[:130],
"default_domain_name": get_min_default_domain_cname_obj(True)
}
if is_valid_email(username):

Loading…
Cancel
Save