mirror of https://github.com/jumpserver/jumpserver
perf: login mfa style
parent
ac6ffb24ee
commit
f3c90c6bbd
|
@ -39,12 +39,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.challenge-required .input-style {
|
.challenge-required .input-style {
|
||||||
width: calc(100% - 114px);
|
width: calc(100% - 160px);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-challenge {
|
.btn-challenge {
|
||||||
width: 110px !important;
|
width: 156px !important;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
localStorage.setItem(preferMFAKey, name)
|
localStorage.setItem(preferMFAKey, name)
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.input-style').each(function (i, ele){
|
$('.input-style').each(function (i, ele) {
|
||||||
$(ele).attr('name', 'code-test')
|
$(ele).attr('name', 'code-test')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
clearInterval(interval)
|
clearInterval(interval)
|
||||||
}
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
setTimeout(function (){
|
setTimeout(function () {
|
||||||
toastr.success("{% trans 'The verification code has been sent' %}");
|
toastr.success("{% trans 'The verification code has been sent' %}");
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue