15 lines
		
	
	
		
			436 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			436 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
|   | {% include "mfa/webauthn/snippets/scripts.html" %} | ||
|  | <form id="mfa_login" action="{% url 'mfa_login_webauthn' %}" method="post"> | ||
|  |     {% csrf_token %} | ||
|  |     {{ redirect_field }} | ||
|  |     <input type="hidden" name="credential" id="mfa_credential"> | ||
|  | </form> | ||
|  | <script type="text/javascript"> | ||
|  |     allauth.webauthn.forms.loginForm({ | ||
|  |         ids: { | ||
|  |             login: "passkey_login", | ||
|  |             credential: "mfa_credential", | ||
|  |         } | ||
|  |     }) | ||
|  | </script> |