When I call $session->flash() in the view, the flash message does get displayed, however it also displays a number, usually 1, afterward it. See the html produced:
<div id="authMessage" class="flash flash_error">Passwords do not match</div>1
What is this, why does it now always happen, and how do I get rid of it?