LoginForm / UserIdentity

I want the LoginForm to authenticate against username / password stored in database (user table). Currently it uses UserIdentity model with the login data stored in an array.

And how do I apply accessRules() to users?

you should read the Guide ;)

more specifically http://www.yiiframework.com/doc/guide/topics.auth

or http://www.yiiframework.com/doc/blog/prototype.auth

greetings

thanks Horacia. sorry man it’s the new year and my mind is empty!