Re: How to add some condition for Auth Magic? Thank you!

2009-05-31 Thread Rimoe
Miles J,
Thank you for your answer!
noï½—, I can add some conditions.

by the way, in  your example the $this->Auth->loginError has been set in the
beforefilter,
so, the error will be show anytime, when you have no login.
maybe I have use it wrong.
how to show the loginerror, do you know, and can you tell me?

Thank you very much.

rimoe



2009/6/1 Miles J 

>
> This might help.
>
> http://www.milesj.me/blog/read/5/using-cakephps-auth-component
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to add some condition for Auth Magic? Thank you!

2009-05-31 Thread Miles J

This might help.

http://www.milesj.me/blog/read/5/using-cakephps-auth-component
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



How to add some condition for Auth Magic? Thank you!

2009-05-31 Thread Rimoe
hi,
everyone!

I used the Auth Magic login method.

so, I don't need do anything, anyone can login in by the example of login

for example the method

function login() { }

but now I want  to add some condition for the login,
what should I do?

Thank you!

rimoe

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---