Skip to content

Commit

Permalink
join as default user
Browse files Browse the repository at this point in the history
  • Loading branch information
fuji246 committed Dec 30, 2012
1 parent ffaff96 commit edbf858
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bbb_django/bbb/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ def join_meeting(request, meeting_id):
err_msg = ErrorList([_("Wrong password")])


form = form_class()
if request.user:
form = form_class(initial={'name': request.user})
else:
form = form_class()
if err_msg != '':
form.errors['password'] = err_msg
#errors = form.errors.setdefault("password", ErrorList())
Expand Down

0 comments on commit edbf858

Please sign in to comment.