loging in

Hi, my registration area is now working minus the email activation stuff for now…

my problem is with UserIdentity class, according to this tutorial,




http://www.larryullman.com/2010/01/04/simple-authentication-with-the-yii-framework/



one needs to alter the $user array variable in order to change the login credentials.

for my question: how should I do it if the login and password comes from a db table ?

I tried




		$users=array(

			$_POST['WSLoginName'] => sha1($_POST['WSLoginPassword'])

		);



didn’t worked…i don’t really get it :o

problem solved… i found this




http://www.yiiframework.com/doc/guide/1.1/en/topics.auth