Wiki

Articles tagged with "useridentity", sorted by date (updated)X
Displaying 1-6 of 6 result(s).

How to pass the third parameter to UserIdentity on login authentication

Updated 11 days ago by Rohit SutharHow-tos6 comments – viewed 2,730 times – ( +1 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

Checking for "expired" sessions/logins on the client side

Updated 27 days ago by le_topHow-tos0 comments – viewed 14,130 times – ( +5 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

How to get & store Last Login DateTime in database?

Updated 3 months ago by Rohit SutharHow-tos2 comments – viewed 3,209 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Disallowing login for INACTIVE users in Yii

Updated 5 months ago by Rohit SutharTutorials0 comments – viewed 2,608 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

Login Form With email or Whatever

Updated 8 months ago by nabil abdoualiHow-tos1 comment – viewed 5,205 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Custom Login Error Messages

Updated about a year ago by whoopassTutorials1 comment – viewed 24,645 times – ( +10 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.