View Issue Details

IDProjectCategoryView StatusLast Update
0034381mantisbtplug-inspublic2024-04-14 07:28
Reportercas Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version2.26.1 
Summary0034381: Request for 2 more events
Description

Can an event be added to both the login.php as well as the login_password_page.php?
This can allow for a plugin to add functionality there such as my Captcha plugin.
Currently I use these 2:

  • EVENT_LOGIN_SHOW
  • EVENT_LOGIN_HANDLE
    The first in login_password_page.php (line 250) and the second in login.php (line 65)
    In case they should have a different naming, no issue. To position on a better place, is of course also fine.
TagsNo tags attached.

Activities

atrol

atrol

2024-03-31 11:51

developer   ~0068760

@cas check EVENT_AUTH_USER_FLAGS / example plugin https://github.com/mantisbt-plugins/SampleAuth if it can be used for your purposes.

cas

cas

2024-04-02 08:23

reporter   ~0068774

@atrol, thanks for the hint. Had to make some changes but it now indeed works based upon the standard event.
So this request can be ignored, issue closed.
Plugin available via https://github.com/mantisbt-plugins/Captcha

atrol

atrol

2024-04-02 09:09

developer   ~0068775

Thanks for the feeback @cas