Skip to content

Commit

Permalink
change email max length to 144
Browse files Browse the repository at this point in the history
  • Loading branch information
bdzim committed Oct 20, 2017
1 parent 4057596 commit d292d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/apps/blue_management/blue_mgnt/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_new_user_form(api, features, account_info, config, local_groups, groups,
class NewUserForm(forms.Form):
if not features['email_as_username']:
username = forms.CharField(max_length=45)
email = forms.EmailField()
email = forms.EmailField(max_length=144)
name = forms.CharField(max_length=45)
group_id = forms.ChoiceField(local_groups, label='Group')

Expand Down Expand Up @@ -517,7 +517,7 @@ def user_detail(request, api, account_info, config, username, email, saved=False
class UserForm(forms.Form):
if local_user:
name = forms.CharField(max_length=45)
email = forms.EmailField(max_length=150)
email = forms.EmailField(max_length=144)
group_id = forms.ChoiceField(local_groups, label='Group')
enabled = forms.BooleanField(required=False)
else:
Expand Down

0 comments on commit d292d3b

Please sign in to comment.