AttributeError
Level: Error
'NoneType' object has no attribute 'is_anonymous'
Sentry error:
https://muckrock.sentry.io/issues/6652064154/events/2e30080852a2477fb014531a90aab0dd/?project=1422309&query=is%3Aunresolved&sort=freq
Place where the issue arises in the code:
|
mfa_enabled = is_mfa_enabled(user) |
I was able to replicate this in the following way:
Request a password reset link, but do not click on it.
Login normally, so a logged in session is created.
Next, click on the password reset link in my email. It shows me a 500 error page and a new entry appears in Sentry for this error. This is a fairly common error in our Sentry logs.