Hi Rob,

I already discovered and corrected that error 2 days ago so it is now 
"username" in table and applications. One of the few things which cannot be the 
cause of the error. ;-)

However, the problem is, that I cannot login because my login.ctp doesn't show 
anything. And you can't type in any  usernames and PWs when you don't have a 
form.

Anja

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von Rob
Gesendet: Mittwoch, 12. November 2008 21:34
An: CakePHP
Betreff: Re: Acl + Auth and now all I see is a blank page


If you use a different field name for username, you have to tell the Auth 
component that.

In my app_controller.php, I map to 'username' to a field 'user_name', and 
'password' to 'user_password' with the following:

        $this->Auth->fields = array('username' => 'user_name', 'password' => 
'user_password');

I'm guessing that you loginname is the issue.

On Nov 12, 7:40 am, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Group is Gruppe in German and I adapted the code, models, controllers 
> accordingly. Or do groups have to be named groups, like the loginname 
> has to be username?
>
> Thank you in advance!
>
> Anja


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to