Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Commit

Permalink
Fix registration error response.
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Jun 23, 2014
1 parent 51f9e64 commit 5121afa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FluxBB/Actions/Register.php
Expand Up @@ -91,8 +91,9 @@ protected function makeResponse()
return \Redirect::route('index')
->withMessage(trans('fluxbb::register.reg_complete'));
} else {
// TODO: Handle error!
return \Response::make();
return \Redirect::route('login')
->withInput()
->withErrors($this);
}
}
}

0 comments on commit 5121afa

Please sign in to comment.