Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Merge requests
!59
Resolve "2FA"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "2FA"
91-2fa
into
master
Overview
2
Commits
16
Pipelines
0
Changes
16
Merged
Tom Teichler
requested to merge
91-2fa
into
master
5 years ago
Overview
2
Commits
16
Pipelines
0
Changes
16
Expand
Closes
#91 (closed)
TODO:
https://django-two-factor-auth.readthedocs.io/en/stable/installation.html#yubikey-setup
Add custom settings for two_factor (Gateways, max digits for codes,…)
Rebuild templates
Add two_factor settings to account menu
Edited
5 years ago
by
Tom Teichler
0
0
Merge request reports
Compare
master
version 11
55b64169
5 years ago
version 10
de139517
5 years ago
version 9
0c4c6859
5 years ago
version 8
b17afb18
5 years ago
version 7
0c578c91
5 years ago
version 6
ade817f0
5 years ago
version 5
f56910ae
5 years ago
version 4
fa084381
5 years ago
version 3
06a9a564
5 years ago
version 2
92186389
5 years ago
version 1
5ac81910
5 years ago
master (base)
and
latest version
latest version
2f0137f8
16 commits,
5 years ago
version 11
55b64169
14 commits,
5 years ago
version 10
de139517
13 commits,
5 years ago
version 9
0c4c6859
12 commits,
5 years ago
version 8
b17afb18
7 commits,
5 years ago
version 7
0c578c91
6 commits,
5 years ago
version 6
ade817f0
6 commits,
5 years ago
version 5
f56910ae
5 commits,
5 years ago
version 4
fa084381
4 commits,
5 years ago
version 3
06a9a564
3 commits,
5 years ago
version 2
92186389
2 commits,
5 years ago
version 1
5ac81910
1 commit,
5 years ago
16 files
+
378
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
Search (e.g. *.vue) (Ctrl+P)
biscuit/core/templates/two_factor/core/backup_tokens.html
0 → 100644
+
28
−
0
Options
{% extends "core/base.html" %}
{% load i18n %}
{% block content %}
<h1>
{% block title %}{% trans "Backup Tokens" %}{% endblock %}
</h1>
<p>
{% blocktrans %}Backup tokens can be used when your primary and backup
phone numbers aren't available. The backup tokens below can be used
for login verification. If you've used up all your backup tokens, you
can generate a new set of backup tokens. Only the backup tokens shown
below will be valid.{% endblocktrans %}
</p>
{% if device.token_set.count %}
<ul>
{% for token in device.token_set.all %}
<li>
{{ token.token }}
</li>
{% endfor %}
</ul>
<p>
{% blocktrans %}Print these tokens and keep them somewhere safe.{% endblocktrans %}
</p>
{% else %}
<p>
{% trans "You don't have any backup codes yet." %}
</p>
{% endif %}
<form
method=
"post"
>
{% csrf_token %}{{ form }}
<a
href=
"{% url 'two_factor:profile'%}"
class=
"pull-right btn btn-dark"
>
{% trans "Back to Account Security" %}
</a>
<button
class=
"btn btn-dark"
type=
"submit"
>
{% trans "Generate Tokens" %}
</button>
</form>
{% endblock %}
Loading