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