Rework authentication system
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-11-26 14:32:25 -06:00
parent bd7d6a2dbd
commit 5175d64e36
28 changed files with 372 additions and 720 deletions

View File

@@ -8,11 +8,11 @@ block heading
block form
.form-label-group
input#inputUsername.form-control(type='text' name='identifier' value=(formData ? formData.username : '') required placeholder='Username' autofocus)
input#inputUsername.form-control(type='text' name='username' value=(formData ? formData.username : '') required placeholder='Username' autofocus)
label(for='inputUsername') Username
.form-label-group
input#inputPassword.form-control(type='password' name='credential' required placeholder='Password')
input#inputPassword.form-control(type='password' name='password' required placeholder='Password')
label(for='inputPassword') Password

View File

@@ -0,0 +1,8 @@
html
head
meta(http-equiv='Refresh' content='0; url="' + redirectUrl)
title Redirecting...
body
script.
var url = `${redirectUrl}`
window.location.assign(url)