两步验证在PMA 5.00中不起作用。

huangapple go评论56阅读模式
英文:

Two-factor authentication not working in PMA 5.00

问题

升级自 PMa 4.X 到 5.00(截至目前最新版本)后,我注意到双因素身份验证停止工作。看起来它没有配置,尽管 PMA 报告配置成功。
我尝试了以下操作:

  • 删除所有与 PMA 相关的 cookie,
  • 禁用然后重新启用双因素身份验证(使用 Google Authenticator),
  • 在过程中生成新的密钥,并检查新密钥是否正确保存在“userconfig”表中(是的)。

感知到的错误行为:PMA 从不要求输入验证码,直接登录。
期望的行为:在登录之前要求输入验证码。

没有错误消息,包括 Apache 日志。此外,在配置双因素身份验证时,QR 码未显示,只有一个空的正方形,我不知道这是否相关。其他一切似乎都正常工作。感谢您的建议。

Apache/2.4.41 (Win32) OpenSSL/1.1.1c PHP/7.2.26; 5.7.28-log - MySQL Community Server (GPL)

英文:

After upgrading from PMa 4.X to 5.00 (latest stable to date), I noticed two-factor authentication stopped working. It looks like it was not configured, despite PMA reporting successful configuration.
I tried

  • deleting all PMA related cookies,
  • disabling and re-enabling two-factor (with Google Authenticator),
  • generating new secret key in the process, checked that the new secret is saved properly in "userconfig" table (it is).

Percieved wrong behavior: PMA never asks for code, logs in directly.
Expected: being asked to input code before logging in.

There are no error messages, including Apache logs. Also, during configuring two-factor, QR code is not shown, just an empty square, I do not know, if this is related. Everything else seems to be working properly. Thank you for suggestions.

Apache/2.4.41 (Win32) OpenSSL/1.1.1c PHP/7.2.26; 5.7.28-log - MySQL Community Server (GPL)

答案1

得分: 1

这个问题在4.9.4和5.0.1中已解决。

请查看我们跟踪器上的此问题

英文:

This issue was solved in 4.9.4 and 5.0.1

See this issue on our tracker

huangapple
  • 本文由 发表于 2020年1月3日 18:01:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/59576509.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定