diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-10 15:33:49 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-10 15:33:49 +0200 |
commit | 7503edafe206d9f16da4d12b6dea0458ca9c2432 (patch) | |
tree | 9cb2e207dac95d4ffe49e5ef1c06ebfaefa8053e /app/view/templates/connect.php | |
parent | def7a991b0112f906fccf802587e8bc6b19bae29 (diff) | |
parent | c63a0228333e18fe2b1b84c29ab70af82698bdab (diff) | |
download | wcms-7503edafe206d9f16da4d12b6dea0458ca9c2432.tar.gz wcms-7503edafe206d9f16da4d12b6dea0458ca9c2432.zip |
Merge branch 'implement-password'
Diffstat (limited to 'app/view/templates/connect.php')
-rw-r--r-- | app/view/templates/connect.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/view/templates/connect.php b/app/view/templates/connect.php index 6fd5b14..7f10384 100644 --- a/app/view/templates/connect.php +++ b/app/view/templates/connect.php @@ -18,7 +18,9 @@ if(in_array($route, ['pageedit', 'pageread', 'pageread/', 'pageadd'])) { echo '<input type="hidden" name="id" value="'. $id .'">'; } ?> -<input type="password" name="pass" id="loginpass" placeholder="password" autofocus> +<form action="<?= $this->url('log') ?>" method="post" id="connect"> +<input type="text" name="user" id="loginuser" autofocus placeholder="user" > +<input type="password" name="pass" id="loginpass" placeholder="password" > <input type="hidden" name="rememberme" value="0"> <input type="checkbox" name="rememberme" id="rememberme" value="1"> <label for="rememberme">Remember me</label> |