Replace Option<SecondFactor>
with SecondFactor
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for f in user.two_factor.as_deref().unwrap_or_default() %}
|
||||
{% for f in user.two_factor %}
|
||||
<tr id="factor-{{ f.id.0 }}">
|
||||
<td>{{ f.type_str() }}</td>
|
||||
<td>{{ f.name }}</td>
|
||||
|
Reference in New Issue
Block a user