Tags:
create new tag
view all tags

SID-00900: plugin that uses a login hook

Status: Answered Answered TWiki version: 5.0.0 Perl version: 5
Category: CategoryPlugins Server OS: Mac OSX Last update: 15 years ago

Hi,

i am quite new to TWiki. I try to develop a plugin that loads a flash file after user logs in. So i am searching some kind of hook or callback function that reacts when a user logs in. Iīve already looked at the EmptyPlugin.pm but I didnīt found the right mechanism.

Any help would be appreciated.

Thx in advance

-- RavenRwho - 2010-07-14

Discussion and Answer

There is no callback.

You can do that in the {PasswordManager} you are using. If you use TWiki::Users::HtPasswdUser I'd clone that module, modify to your needs (e.g. add your hook in sub checkPassword), and specify the cloned module as the new password manager.

-- PeterThoeny - 2010-07-16

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title plugin that uses a login hook
SupportCategory CategoryPlugins
TWiki version 5.0.0
Server OS Mac OSX
Web server Apache
Perl version 5
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-07-16 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.