MAPG-151 add some client side input checks
This commit is contained in:
1 parent
50c7e3972c
commit
e014bf9dc1
3 files changed
+7
-7
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ $jsFiles = [
|
||||
<h2>Login</h2>
|
||||
<div class="box">
|
||||
<form id="loginForm" action="/login" method="post">
|
||||
<input class="big fullWidth" type="email" name="email" placeholder="Email address" autofocus>
|
||||
<input class="big fullWidth marginTop" type="password" name="password" placeholder="Password">
|
||||
<input class="big fullWidth" type="email" name="email" placeholder="Email address" required autofocus>
|
||||
<input class="big fullWidth marginTop" type="password" name="password" placeholder="Password" required minlength="6">
|
||||
<p id="loginFormError" class="formError justify marginTop"></p>
|
||||
<div class="right marginTop">
|
||||
<button type="submit">Login</button>
|
||||
|
||||
Reference in new issue
Block a user