View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026979||mantisbt||bugtracker||public||2020-05-22 10:20||2020-06-05 17:38|
|Status||closed||Resolution||no change required|
|Summary||0026979: login page add a qr code ou barcode|
I use mantisbt version 2.24.1 and I would like to personalize the login screen, inserting in addition to the logo an image in qrcode (jpg) that, when read, opens the login screen on a mobile phone. Is there any way this can be done?
using mantis in a server ubuntu
|Tags||No tags attached.|
Not really sure I fully understand what you want to do, but you can write an authentication plugin that will replace or customize the default login page or mechanism.
It will need to hook the EVENT_AUTH_USER_FLAGS event, check the SampleAuth Plugin as an example.
I would do it in a simple way.
The idea is, besides the logo, in the right corner to have a qrcode, very simple! on the login screen ... below an example
This can't be done without customizing login_page.php (for the record, this is not supported).
As mentioned previously, the recommended way would be to write a custom Auth plugin to replace the standard login page. See attached for a quick and dirty example.
AuthWithQR.zip (2,646 bytes)