git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed 1-form limit for new instance forms.
[philo.git]
/
contrib
/
gilbert
/
plugins
/
auth.py
diff --git
a/contrib/gilbert/plugins/auth.py
b/contrib/gilbert/plugins/auth.py
index
0daaf85
..
66cfebc
100644
(file)
--- a/
contrib/gilbert/plugins/auth.py
+++ b/
contrib/gilbert/plugins/auth.py
@@
-40,10
+40,10
@@
class Auth(Plugin):
@ext_method(form_handler=True)
def save_passwd_form(self, request):
form = PasswordChangeForm(request.user, data=request.POST)
-
try
:
+
if form.is_valid()
:
form.save()
return True, None
- e
xcept
:
+ e
lse
:
return False, form.errors
@ext_method