I created a workaround to solve my problem as follows.  In my view I
inserted the following HtmlHelper in an empty column:

<?php echo $html -> tagErrorMsg( 'User/ldap', 'Unable to authenticate
the user'); ?>

In my UserController -> login() function above I simply replaced the
comment

// **Unable to authenticate - create custom msg**

with

$this -> User -> invalidate ( 'ldap' );

Not exactly what I was looking for, but it gets the job done.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to