add redir field
This commit is contained in:
parent
ef34429dfa
commit
bc35891ca7
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ let main = new Route([auth], async function (req, res, input) {
|
|||
return res.render('form', {
|
||||
data: [
|
||||
{ label: "Username", type: "text", name: "user" },
|
||||
{ label: "Password", type: "password", name: "pass" }
|
||||
{ label: "Password", type: "password", name: "pass" },
|
||||
],
|
||||
'route': '/api/form/login',
|
||||
'title': 'Login',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue