labd / wagtail-2fa

2 Factor Authentication for Wagtail
https://wagtail-2fa.readthedocs.io/en/latest/
MIT License
85 stars 44 forks source link

'User' object has no attribute 'is_verified' - wagtail 5.1 #224

Open SteanlyCZ opened 1 year ago

SteanlyCZ commented 1 year ago

Hello,

in wagtail version 5.1 when saving form "Two Factor Settings"

I get an error:

AttributeError at /2fa/devices/new 'User' object has no attribute 'is_verified' Request Method: POST Request URL: http://localhost:8000/2fa/devices/new Django Version: 4.2.3 Exception Type: AttributeError Exception Value:
'User' object has no attribute 'is_verified'