SID-00900: plugin that uses a login hook
| Status: |
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
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.