Archived
Works now?
This commit is contained in:
1 parent
b4de4ed73e
commit
9d5cd113ee
1 file changed
+1
-1
+1
-1
@@ -118,7 +118,7 @@ def password_reset_confirm(request, uidb64=None, token=None,
|
||||
post_reset_redirect = resolve_url(post_reset_redirect)
|
||||
try:
|
||||
uid = urlsafe_base64_decode(uidb64)
|
||||
user = LdapUser.objects.get(id=uid) # Diff line vs internal django view
|
||||
user = LdapUser.objects.get(pk=uid) # Diff line vs internal django view
|
||||
except (TypeError, ValueError, OverflowError, LdapUser.DoesNotExist):
|
||||
user = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user