fixed array saving bug
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user