Wiki

Articles tagged with "login", sorted by ratingX
Displaying 1-10 of 18 result(s).

Configuring different sessions for backend and frontend in Yii advanced app

Created 3 years ago by Kartik VHow-tos2 comments – viewed 29,527 times – ( +48 / -1 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Impersonate Users within Yii Framework

Created 6 years ago by WoilTutorials6 comments – viewed 17,970 times – ( +22 / -1 ) – version 1.1
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".

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

Created 2 years ago by Wade ShulerHow-tos2 comments – viewed 61,347 times – ( +17 / -2 ) – version 2.0
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 different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 5 years ago by RutgerHow-tos3 comments – viewed 28,075 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above

Custom Login Error Messages

Created 4 years ago by whoopassTutorials1 comment – viewed 39,139 times – ( +11 / -1 ) – 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.

Secure password hashing with bCrypt

Created 5 years ago by waitforitHow-tos3 comments – viewed 24,713 times – ( +9 / -1 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Activate captcha after unsuccessful login attempts

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 24,348 times – ( +13 / -3 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

How to get & store Last Login DateTime in database?

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 14,587 times – ( +7 / -1 ) – 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).

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

Created 3 years ago by hrnairHow-tos2 comments – viewed 26,086 times – ( +7 / -1 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

How to create nice modal login widget with a CJuiDialog

Created 6 years ago by Igor IvanovicTutorials3 comments – viewed 52,973 times – ( +9 / -2 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget