Show More
@@ -76,8 +76,9 b' class UsersController(BaseController):' | |||
|
76 | 76 | defaults=errors.value, |
|
77 | 77 | encoding="UTF-8") |
|
78 | 78 | except Exception: |
|
79 | h.flash(_('error occured during creation of user %s') \ | |
|
80 | % form_result['username'], category='error') | |
|
79 | ||
|
80 | h.flash(_('error occured during creation of user') \ | |
|
81 | % request.POST.get('username'), category='error') | |
|
81 | 82 | return redirect(url('users')) |
|
82 | 83 | |
|
83 | 84 | def new(self, format='html'): |
General Comments 0
You need to be logged in to leave comments.
Login now