You using session->setFlash()? You might be able to try
session->delete('flash') to remove that message where you see fit. Not
positive that will work though...
MDB wrote:
> Hello all, I have a login page where if the default login fails, it
> tries using a second login. Due to this, the "Login failed. Invalid
> username or password." message appears even if my second login was
> sucessfull. So my question is, how do I get rid of this message or
> hide it? If I hit refresh in the browser, it does go away.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---