I am adding a patch, Please let me know if you prefer a pull request.
** Patch added: "0001-Add-a-pre-login-hook-to-check-if-user-is-already-log.patch" https://bugs.launchpad.net/mahara/+bug/1749339/+attachment/5054743/+files/0001-Add-a-pre-login-hook-to-check-if-user-is-already-log.patch -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749339 Title: Add pre_loginpage_hooks Status in Mahara: New Bug description: Give a chance for auth plugins to authenticate the user or perform other tasks before showing the login page. This is similar to https://tracker.moodle.org/browse/MDL-48887 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749339/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp