Skip to content

Commit

Permalink
fixed issue of registration
Browse files Browse the repository at this point in the history
  • Loading branch information
mishal23 committed Sep 18, 2018
1 parent 59956b3 commit 108fd29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webadmin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def add_user(request):
form.cleaned_data['firstname'],
form.cleaned_data['lastname'],
False,
form.cleaned_data['employee']
form.cleaned_data['member_type']
)
request.session['alert_success'] = "Successfully created new employee account"
request.session['alert_success'] = "Successfully created new member account. Please ask them to change the password first"
return HttpResponseRedirect('/admin/users/')
else:
form = AddUserForm()
Expand Down

0 comments on commit 108fd29

Please sign in to comment.