Rework authentication system
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
8
src/resources/views/redirect.pug
Normal file
8
src/resources/views/redirect.pug
Normal 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)
|
||||
Reference in New Issue
Block a user