mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-04 21:32:15 +00:00
feat(login): add OTP (email and sms) (#6353)
* feat: login with otp * fix(i18n): japanese translation * add missing files * fix provider change * add event types translations to en * add tests * resourceOwner * remove unused handler * fix: secret generators and add comments * add setup step * rename * linting * fix setup * improve otp handling * fix autocomplete * translations for login and notifications * translations for event types * changes from review * check selected mfa type
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
let form = document.getElementsByTagName('form')[0];
|
||||
let editButton = document.getElementById('edit');
|
||||
editButton.addEventListener('click', function () {
|
||||
form.submit();
|
||||
});
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
@mixin lgn-mfa-base {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
margin: 2rem 0;
|
||||
margin: 1rem 0;
|
||||
|
||||
.mfa {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding: 0 0.5rem;
|
||||
padding: 1rem 0.5rem;
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user