summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-10 16:05:33 +0200
committerTor Andersson <tor@ccxvii.net>2022-05-10 16:11:15 +0200
commitfa2d5f683eb9c19ccd32569f5cd736586ad21861 (patch)
treed19b9b23ef1c0150700a5fbc84b80d73d35bf583
parent04fffc07b1d2b1f4e8a68a21bafae7b6faeb1648 (diff)
downloadserver-fa2d5f683eb9c19ccd32569f5cd736586ad21861.tar.gz
Set type=email on mail fields in various form.
-rw-r--r--views/forgot_password.pug2
-rw-r--r--views/reset_password.pug2
-rw-r--r--views/signup.pug2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/forgot_password.pug b/views/forgot_password.pug
index 3724c59..113610c 100644
--- a/views/forgot_password.pug
+++ b/views/forgot_password.pug
@@ -18,6 +18,6 @@ html
p
label Mail:
br
- input(type="mail" name="mail" required)
+ input(type="email" name="mail" required)
p
button(type="submit") Forgot password
diff --git a/views/reset_password.pug b/views/reset_password.pug
index 3fbd539..1aa0a29 100644
--- a/views/reset_password.pug
+++ b/views/reset_password.pug
@@ -17,7 +17,7 @@ html
p
label Mail:
br
- input(type="text" name="mail" size=32 value=mail required)
+ input(type="email" name="mail" size=32 value=mail required)
p
label New Password:
br
diff --git a/views/signup.pug b/views/signup.pug
index 8dae43d..b0cf901 100644
--- a/views/signup.pug
+++ b/views/signup.pug
@@ -22,7 +22,7 @@ html
p
label Mail:
br
- input(type="text" name="mail" required)
+ input(type="email" name="mail" required)
p
label Password:
br