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

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

Updated 4 months ago by le_topHow-tos0 comments – viewed 17,462 times – ( +6 ) – 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 pass the third parameter to UserIdentity on login authentication

Updated 8 months ago by Rohit SutharHow-tos6 comments – viewed 8,531 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.

How to get & store Last Login DateTime in database?

Updated 11 months ago by Rohit SutharHow-tos2 comments – viewed 5,865 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 about a year ago by Rohit SutharTutorials0 comments – viewed 4,337 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 about a year ago by nabil abdoualiHow-tos1 comment – viewed 8,623 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 2 years ago by whoopassTutorials1 comment – viewed 29,986 times – ( +11 ) – 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.