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
Commits
06a9a564
Verified
Commit
06a9a564
authored
5 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Rewrite login template.
parent
92186389
No related branches found
No related tags found
1 merge request
!59
Resolve "2FA"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/core/templates/two_factor/login.html
+24
-0
24 additions, 0 deletions
biscuit/core/templates/two_factor/login.html
with
24 additions
and
0 deletions
biscuit/core/templates/two_factor/login.html
0 → 100644
+
24
−
0
View file @
06a9a564
{# -*- engine:django -*- #}
{% extends "core/base.html" %}
{% load bootstrap4 i18n %}
{% block content %}
{% if next %}
{% if user.is_authenticated %}
<p>
Your account doesn't have access to this page. To proceed,
please login with an account that has access.
</p>
{% else %}
<p>
Please login to see this page.
</p>
{% endif %}
{% endif %}
<form
method=
"post"
action=
"{% url 'two_factor:login' %}"
>
{% csrf_token %}
{% bootstrap_form form %}
<button
type=
"submit"
class=
"btn btn-dark"
>
{% blocktrans %}Login{% endblocktrans %}
</button>
</form>
{% endblock %}
This diff is collapsed.
Click to expand it.
Tom Teichler
@debdolph
mentioned in commit
fa084381
·
5 years ago
mentioned in commit
fa084381
mentioned in commit fa084381d2af9d917eeeca604f894ce59353a8d9
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment