2FA failing
The login failed to people with both SMS and Token methods.
return compiled_parent._render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/test/utils.py", line 100, in instrumented_test_render
return self.nodelist.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/defaulttags.py", line 315, in render
return nodelist.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/defaulttags.py", line 214, in render
nodelist.append(node.render_annotated(context))
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 988, in render
output = self.filter_expression.resolve(context)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/django/template/base.py", line 698, in resolve
new_obj = func(obj, *arg_vals)
File "/usr/lib/smasch/env/lib64/python3.9/site-packages/two_factor/plugins/phonenumber/templatetags/phonenumber.py", line 38, in device_action
assert device.__class__.__name__ == 'PhoneDevice'
AssertionError