Wiki

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 3 months ago by le_topHow-tos0 comments – viewed 16,722 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 pass the third parameter to UserIdentity on login authentication

Updated 6 months ago by Rohit SutharHow-tos6 comments – viewed 7,810 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 9 months ago by Rohit SutharHow-tos2 comments – viewed 5,248 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 12 months ago by Rohit SutharTutorials0 comments – viewed 4,026 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 7,971 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 28,880 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.