fixed typo, thanks Dean
This commit is contained in:
+1
-1
@@ -2915,7 +2915,7 @@ class Auth(object):
|
||||
formname='reset_password', dbio=False,
|
||||
onvalidation=onvalidation,
|
||||
hideerror=self.settings.hideerror):
|
||||
user = table_user(**{userfield:form.vars.get(userlfield)})
|
||||
user = table_user(**{userfield:form.vars.get(userfield)})
|
||||
if not user:
|
||||
session.flash = self.messages['invalid_%s' % userfield]
|
||||
redirect(self.url(args=request.args),
|
||||
|
||||
Reference in New Issue
Block a user