Fixed issues

This commit is contained in:
Philipp Klüter
2020-09-28 23:16:04 +02:00
parent f440daed1c
commit 0d5e401be0
2 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@@ -5,4 +5,4 @@
!.vscode/launch.json !.vscode/launch.json
!.vscode/extensions.json !.vscode/extensions.json
*.code-workspace *.code-workspace
test

View File

@@ -6,16 +6,16 @@
<h1 class="login-title display-3 mb-5">Log In</h1> <h1 class="login-title display-3 mb-5">Log In</h1>
<form onsubmit="login.disabled = true; return true;" action="${url.loginAction}" method="post"> <form onsubmit="login.disabled = true; return true;" action="${url.loginAction}" method="post">
<div class="form-group mb-2"> <div class="form-group mb-2">
<label for="email">Email</label> <label for="username">Username</label>
<input type="email" name="email" id="email" class="form-control" <input type="text" name="username" id="username" class="form-control"
placeholder="email@example.org"> placeholder="Enter your username">
</div> </div>
<div class="form-group mb-5"> <div class="form-group mb-5">
<label for="password">Password</label> <label for="password">Password</label>
<input type="password" name="password" id="password" class="form-control" <input type="password" name="password" id="password" class="form-control"
placeholder="Enter your passsword"> placeholder="Enter your passsword">
</div> </div>
<input name="login" id="login" class="btn btn-block login-btn" type="button" value="Login"> <input name="login" id="kc-login" class="btn btn-block login-btn" type="submit" value="Log in">
</form> </form>
<#elseif section = "info" > <#elseif section = "info" >
<#if realm.password && realm.registrationAllowed && !registrationDisabled??> <#if realm.password && realm.registrationAllowed && !registrationDisabled??>