Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
CodeIgniter 4
CodeIgniter 4 Addins
Shield: Is there an option to prevent concurrent logins?
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Shield: Is there an option to prevent concurrent logins?
dsivic
Newbie
Posts:
8
Threads:
1
Joined:
Oct 2014
Reputation:
0
#1
06-18-2023, 02:38 AM
Shield: Is there an option to prevent concurrent logins?
Reply
kenjis
Administrator
Posts:
3,412
Threads:
91
Joined:
Oct 2014
Reputation:
211
#2
06-18-2023, 05:13 PM
No.
ci-phpunit-test
|
CodeIgniter Testing Guide
|
CodeIgniter 3 to 4 Upgrade Helper
Reply
RWCH
Junior Member
Posts:
42
Threads:
5
Joined:
Feb 2015
Reputation:
3
#3
06-23-2023, 04:32 AM
(This post was last modified: 06-23-2023, 09:58 AM by
RWCH
.)
Yes, it is right there.
In LoginController in Shield is this code:
PHP Code:
if (
auth
()->
loggedIn
()) {
return
redirect
()->
to
(
config
(
'Auth'
)->
loginRedirect
());
}
It redirects the user to the page you configured in array $redirects in class Auth (see app/Config/Auth.php).
Reply
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB