alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
216 stars 76 forks source link

QR code does not generate in Elastic #99

Open mhallager opened 5 years ago

mhallager commented 5 years ago

It works in Classic so I am assuming this needs updating for Elastic. Can you please consider this?

dunstn commented 5 years ago

This plugin uses a div with the #prefs-title id to transfer your username to the JavaScript - this creates a title-row with 2-factor authentication - username, formatted by the boxtitle class. Unfortunately, Elastic removes all elements with the 'boxtitle' class from the document. If you remove the 'class' => 'boxtitle' part from row 299 of the twofactor_gauthenticator.php, the QR code will be displayed. The result will not be perfect, since it seems this settings box disables scrolling and when the QR-code is displayed, all the things below it may disappear. Can somebody from the developers of the Elastic skin help us make this box scrollable?

limer-org commented 4 years ago

@dunstn : this merge resolved your problem ??

zaharcelac commented 4 years ago

With this merge QR is diplayed in Roundcude 1.4.2, but scrolling doesn't work as stated above.