Replace Option<SecondFactor> with SecondFactor

This commit is contained in:
2022-04-19 17:56:53 +02:00
parent 5903ec2e8c
commit 9ff4392afb
4 changed files with 11 additions and 17 deletions

View File

@ -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>