Commit 7c9dab31dbc9477b4c477bff7f0e9c33e0149393
Committed by
Sergio Oliveira
1 parent
80b68d86
Exists in
master
and in
13 other branches
Handling browserid in User Creation Form
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Carlos Oliveira <carlospecter@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
colab/accounts/views.py
@@ -23,7 +23,7 @@ from haystack.query import SearchQuerySet | @@ -23,7 +23,7 @@ from haystack.query import SearchQuerySet | ||
23 | from colab.super_archives.models import EmailAddress, Message, EmailAddressValidation | 23 | from colab.super_archives.models import EmailAddress, Message, EmailAddressValidation |
24 | from colab.search.utils import trans | 24 | from colab.search.utils import trans |
25 | # from proxy.trac.models import WikiCollabCount, TicketCollabCount | 25 | # from proxy.trac.models import WikiCollabCount, TicketCollabCount |
26 | -from .forms import (UserCreationForm, ListsForm, UserUpdateForm, | 26 | +from .forms import (UserCreationForm, UserCreationFormNoBrowserId, ListsForm, UserUpdateForm, |
27 | ChangeXMPPPasswordForm) | 27 | ChangeXMPPPasswordForm) |
28 | # from .errors import XMPPChangePwdException | 28 | # from .errors import XMPPChangePwdException |
29 | from .utils import mailman | 29 | from .utils import mailman |
@@ -128,7 +128,6 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView): | @@ -128,7 +128,6 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView): | ||
128 | 128 | ||
129 | 129 | ||
130 | def signup(request): | 130 | def signup(request): |
131 | - user = request.user | ||
132 | BROWSERID_ENABLED = getattr(settings, 'BROWSERID_ENABLED', False) | 131 | BROWSERID_ENABLED = getattr(settings, 'BROWSERID_ENABLED', False) |
133 | 132 | ||
134 | if BROWSERID_ENABLED: | 133 | if BROWSERID_ENABLED: |