Minor fixes
This commit is contained in:
parent
c3a3b7e35c
commit
07feaaa4e7
|
@ -88,7 +88,7 @@ func Login() http.HandlerFunc {
|
|||
// Are they submitting the 2FA code?
|
||||
var (
|
||||
intent = r.PostFormValue("intent")
|
||||
code = r.PostFormValue("code")
|
||||
code = strings.ReplaceAll(r.PostFormValue("code"), " ", "")
|
||||
)
|
||||
|
||||
// Validate the submitted code.
|
||||
|
|
|
@ -802,6 +802,10 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||
console.log("button %s: ADD is-active", tab_);
|
||||
tab_.classList.add("is-active");
|
||||
}
|
||||
|
||||
tab_.addEventListener("click", (e) => {
|
||||
document.querySelector("#"+name_).scrollIntoView();
|
||||
});
|
||||
});
|
||||
|
||||
$activeTab.style.display = 'block';
|
||||
|
|
Loading…
Reference in New Issue
Block a user