@@ -84,7 +84,7 @@ |
||
| 84 | 84 | //Error checking |
| 85 | 85 | |
| 86 | 86 | //if mail already used, go to login |
| 87 | - if($this->userModel->isEmailUnique($register["email"])) |
|
| 87 | + if ($this->userModel->isEmailUnique($register["email"])) |
|
| 88 | 88 | { |
| 89 | 89 | $this->alertBox->setAlert("Email already registered, try logging in. You can always use the forgotten password to reset your account", 'error'); |
| 90 | 90 | $this->response->redirect('/login'); |