Modifying auth error message CakePHP 3.0
-- Templates/Element/Flash/login-error.ctp:
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?= h($message) ?>
</div>
-- Templates/Users/login.ctp:
/* Put where you want to display the error messages */
<?= $this->Flash->render('flash', ['element' => 'Flash/login-error']) ?>
..
....