Welcome Guest, Not a member yet? Register   Sign In
Shield: Is there an option to prevent concurrent logins?
#1

Shield: Is there an option to prevent concurrent logins?
Reply
#2

No.
Reply
#3

(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




Theme © iAndrew 2016 - Forum software by © MyBB