diff --git a/fir_ser/api/views/login.py b/fir_ser/api/views/login.py index f5e3bd7..a2658ff 100644 --- a/fir_ser/api/views/login.py +++ b/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):