I am working on a "Cookie Cake PHP 1.3 Application Cookbook", CH. 1 - section "Permission of logins with username or e-mail".
The problem is that when you log in using e-mail, even if you are successful, the flash message for "Invalid Account" is already set by the Auth component. Therefore, I need to cancel this message in the login action of the user controller user after a successful login by e-mail. Setting it to an empty line does not work, because an empty orange bar is displayed.
Is there a way to completely disable the flash message?
Thank you Jonah
source
share