From 3e59c0601ee81e5dc076b6a3990a68a582a515f8 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Fri, 8 Apr 2022 06:48:44 +0200 Subject: [PATCH] check for whitespaces in login and registration --- Lab01/app/templates/_base.tmpl | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Lab01/app/templates/_base.tmpl b/Lab01/app/templates/_base.tmpl index b86efb1..bdf4441 100644 --- a/Lab01/app/templates/_base.tmpl +++ b/Lab01/app/templates/_base.tmpl @@ -71,7 +71,7 @@
- Please choose a username. + Please choose a username. It cannot include whitespaces.
@@ -79,7 +79,7 @@
- Please choose a password. + Please choose a password. It cannot include whitespaces.
@@ -169,21 +169,32 @@ {{define "formScripts"}}