Wiki

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

How to get & store Last Login DateTime in database?

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

Login Form With email or Whatever

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

Created about a year ago by whoopassTutorials1 comment – viewed 22,648 times – ( +9 ) – 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.

Disallowing login for INACTIVE users in Yii

Created 3 months ago by Rohit SutharTutorials0 comments – viewed 2,086 times – ( +5 / -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.

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

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