Skip to content

Commit

Permalink
fix(register): Remove flash message
Browse files Browse the repository at this point in the history
  • Loading branch information
fxleblanc committed Feb 24, 2016
1 parent 868b770 commit 81ce02c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Controller/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,6 @@ public function registerStudentOptional()
} else {

if ($this->Users->save($user)) {
$this->Flash->success(__('Welcome to {0}', __('ML2')));

return $this->redirect(['action' => 'login']);
} else {
$this->Flash->error(
Expand Down

0 comments on commit 81ce02c

Please sign in to comment.