View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027836||mantisbt||plug-ins||public||2021-01-05 03:22||2022-02-26 05:52|
|Summary||0027836: The EVENT_AUTH_USER_FLAGS event does not fire if the user does not exist in the DB|
Hello. Sorry for my English.
I am trying to write a plugin for authorization through several LDAP servers. And now I ran into the indicated problem, due to which the auto-creation of the user through the plugin does not work.
As I understand it, the problem is in the code "core / authentication_api.php"
if the user is absent, the function is exited without reaching the EVENT_AUTH_USER_FLAGS event.
|Tags||No tags attached.|
MantisBT: master 76f01f8d
|Auth plugin events not fired for non-existent users
Handle auth_flags edge cases which break certain authentication plugins
Fix login redirection for auth plugin.
Fixes 0027836, 0029517, PR https://github.com/mantisbt/mantisbt/pull/1792
|mod - core/authentication_api.php||Diff File|
|mod - login_password_page.php||Diff File|