Replace Option<SecondFactor>
with SecondFactor
This commit is contained in:
@ -74,7 +74,7 @@
|
||||
<fieldset class="form-group">
|
||||
<legend class="mt-4">Two factor authentication</legend>
|
||||
<strong>If you uncheck a factor, it will be DELETED</strong>
|
||||
{% for f in u.two_factor.as_deref().unwrap_or_default() %}
|
||||
{% for f in u.two_factor %}
|
||||
<div class="form-check">
|
||||
<label class="form-check-label">
|
||||
<input type="checkbox" class="form-check-input two-fact-checkbox"
|
||||
|
Reference in New Issue
Block a user