fish210717 / login_mfa
the google twofactorauth
V1.3.2
2022-12-21 06:19 UTC
Requires
- php: >=7.0.0
- ext-json: *
- chillerlan/php-qrcode: 2.0.8
- robthree/twofactorauth: ^1.8.2
This package is auto-updated.
Last update: 2026-02-21 13:32:52 UTC
README
google 双重认证
示例: $mfa = new LoginMfa(); $data = json_decode(($mfa->create($domain . '-' . $userName)), true);
$result = $mfa->verify($data['secret'], $data['code']);