Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Signing in

if you are Signed in and visit the Sign in Link again index.php?p=/entry/signin
it will take you to the Sign in page, and you can just normal sign in with another account

my question is, is there a way I can show the sign in page for the already signed in users that says, you are already signed in

iii.png 19.8K

Comments

  • Version 2.0.18.8

  • Welcome to the community!

    Yes. Create a theme hook or plugin that has a signin handler for the entry controller.

    public function EntryController_SignIn_Handler($Sender) {
      $Session = Gdn::Session();
      if($Session->IsValid()) {
        $Sender->InformMessage('You are already signed in as ' . $Session->User->Name . '.');
      }
    }
    

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.