24 lines
		
	
	
		
			857 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			857 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "base_login_page.html" %}
 | |
| {% block content %}
 | |
| 
 | |
| <div>
 | |
|     <p>Please go to your authenticator app <i>{{ factor.name }}</i>, generate a new code and enter it here:</p>
 | |
|     <form method="post" action="{{ factor.login_url(_p.redirect_uri) }}">
 | |
| 
 | |
|         <div class="form-group">
 | |
|             <label for="code" class="form-label mt-4">Generated code</label>
 | |
|             <input type="text" name="code" minlength="6" maxlength="6" class="form-control" id="code"
 | |
|                    placeholder="XXXXXX" autofocus>
 | |
|         </div>
 | |
| 
 | |
|         <button class="w-100 btn btn-primary" type="submit" style="margin: 20px 0px;">Login</button>
 | |
|     </form>
 | |
| </div>
 | |
| 
 | |
| 
 | |
| <div style="margin-top: 10px;">
 | |
|     <a href="/2fa_auth?redirect={{ _p.redirect_uri.get_encoded() }}">Sign in using another factor</a><br />
 | |
|     <a href="/logout">Sign out</a>
 | |
| </div>
 | |
| 
 | |
| {% endblock content %} |