Ticket #15067: 15067.patch
File 15067.patch, 517 bytes (added by , 14 years ago) |
---|
-
django/contrib/auth/views.py
180 180 try: 181 181 uid_int = base36_to_int(uidb36) 182 182 user = User.objects.get(id=uid_int) 183 except (ValueError, User.DoesNotExist ):183 except (ValueError, User.DoesNotExist, OverflowError): 184 184 user = None 185 185 186 186 if user is not None and token_generator.check_token(user, token):