fixed array saving bug
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s

This commit is contained in:
2023-10-29 09:16:10 +01:00
parent 727a7d3dfb
commit 460fb6b1ee
4 changed files with 15 additions and 8 deletions

View File

@ -47,6 +47,7 @@ class Register extends Page {
try
{
$u->save();
$this->redirect('/register/success');
}
catch(Exception $e)
{
@ -55,7 +56,7 @@ class Register extends Page {
$this->set('errorMessage', $e->getMessage());
return;
}
//$this->redirect('/register/success');
return;
}

View File

@ -9,11 +9,11 @@
</div>
<div class="form-group">
<label for="exampleInputPassword1">Passwort</label>
<input name="password" type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
<input name="password" type="password" class="form-control" id="exampleInputPassword1" placeholder="Passwort">
</div>
<div class="form-group">
<label for="exampleInputPassword2">Passwort wiederholen</label>
<input name="password2" type="password2" class="form-control" id="exampleInputPassword2" placeholder="Password">
<input name="password2" type="password" class="form-control" id="exampleInputPassword2" placeholder="Passwort Wiederholen">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>