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

Custom Login Error Messages

Created 2 years ago by whoopassTutorials1 comment – viewed 27,122 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.

How to get & store Last Login DateTime in database?

Created 7 months ago by Rohit SutharHow-tos2 comments – viewed 4,314 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).

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

Created about a year ago by le_topHow-tos0 comments – viewed 15,433 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.

Disallowing login for INACTIVE users in Yii

Created 9 months ago by Rohit SutharTutorials0 comments – viewed 3,420 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.

How to pass the third parameter to UserIdentity on login authentication

Created 3 months ago by Rohit SutharHow-tos6 comments – viewed 6,534 times – ( +2 ) – 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.

Login Form With email or Whatever

Created 11 months ago by nabil abdoualiHow-tos1 comment – viewed 6,726 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