Wiki articles tagged with "login"

Showing 1-19 of 19 items.

How to login from different tables in Yii2

Created 6 years ago by AndroideLP, updated 3 years ago by lenovo.

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object apply one table to authentication ('identityClass' => 'app\panel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
6 followers
Viewed: 61 622 times
Version: 2.0
Category: How-tos

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 8 years ago by Wade Shuler, updated 8 years ago by samdark.

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

9 1
18 followers
Viewed: 119 709 times
Version: 2.0
Category: How-tos

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created 9 years ago by hrnair, updated 9 years ago by hrnair.

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

3 0
7 followers
Viewed: 44 008 times
Version: 2.0
Category: How-tos

Google style sign out of all other sessions

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

In this wiki I will show how could logout from all other sessions or all other places.

0 0
5 followers
Viewed: 25 933 times
Version: 1.1
Category: How-tos

How to get & store Last Login DateTime in database?

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

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).

2 0
4 followers
Viewed: 24 879 times
Version: 1.1
Category: How-tos

Enhance security of cookie-based login

Created 9 years ago by darkheir, updated 9 years ago by darkheir.

When talking about cookie-base login the Yii guide indicates the following:

2 0
2 followers
Viewed: 17 746 times
Version: 1.1
Category: How-tos

Forcing login for all pages using CBehavior

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

0 3
5 followers
Viewed: 33 549 times
Version: 1.1
Category: Tutorials

Disallowing login for INACTIVE users in Yii

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

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.

1 0
3 followers
Viewed: 16 260 times
Version: 1.1
Category: Tutorials

How to prevent Login from two places?

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

0 0
5 followers
Viewed: 19 611 times
Version: 1.1
Category: Tutorials

Configuring different sessions for backend and frontend in Yii advanced app

Created 9 years ago by Kartik V, updated 8 years ago by Kartik V.

Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.

4 0
46 followers
Viewed: 48 464 times
Version: 2.0
Category: How-tos

How to create Module based Login

Created 10 years ago by Ibrar Turi, updated 10 years ago by CeBe.

Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

1 0
7 followers
Viewed: 21 736 times
Version: 1.1
Category: How-tos

Two Login in same form in Yii application , with two tables

Created 10 years ago by Balu, updated 9 years ago by Rohit Suthar.

login links will be

3 4
6 followers
Viewed: 30 837 times
Version: 1.1
Category: Tutorials

Activate captcha after unsuccessful login attempts

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Rohit Suthar.

Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

4 1
15 followers
Viewed: 38 039 times
Version: 1.1
Category: How-tos

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

Created 10 years ago by le_top, updated 9 years ago by le_top.

Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

4 0
12 followers
Viewed: 35 334 times
Version: 1.1
Category: How-tos

Custom Login Error Messages

Created 11 years ago by whoopass, updated 11 years ago by whoopass.

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](http://www.yiiframework.com/doc/blog/1.1/en/prototype...

6 0
8 followers
Viewed: 51 359 times
Version: 1.1
Category: Tutorials

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 12 years ago by Rutger, updated 7 years ago by Rutger.

This solution requires Yii 1.1.9 or above

12 0
16 followers
Viewed: 36 648 times
Version: 1.1
Category: How-tos

Secure password hashing with bCrypt

Created 12 years ago by waitforit, updated 11 years ago by Ivo Pereira.

In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

5 0
9 followers
Viewed: 37 133 times
Version: 1.1
Category: How-tos

Impersonate Users within Yii Framework

Created 13 years ago by Woil, updated 13 years ago by Woil.

For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

20 0
21 followers
Viewed: 26 231 times
Version: 1.1
Category: Tutorials

How to create nice modal login widget with a CJuiDialog

Created 13 years ago by Igor Ivanovic, updated 13 years ago by Maurizio Domba Cerin.

You have to extend the widget class and configure it for user login widget

6 0
30 followers
Viewed: 76 245 times
Version: 1.1
Category: Tutorials