mastersteelblade/google-authenticator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mastersteelblade/google-authenticator

Composer 安装命令:

composer require mastersteelblade/google-authenticator

包简介

README 文档

README

This package provides Google Authenticator functionality to your sites.

Documentation is pending.

Branch Github Actions
master Test

Requirements

This fork is built for PHP 8.0+.

Installation using Composer

composer require mastersteelblade/google-authenticator

Usage

See example.php for how to use it.

The original Sonata web app is present in web/, pending an overhaul. Please make users.dat writeable for the webserver, or the secret can't be saved. Try to login with chregu/foobar.

What's missing in the example:

  • Prevent replay attacks. A token should only be used once in order to prevent the risk of shoulder surfing.
  • Show QR Code only when providing password again (or not at all)
  • Regenerate secret on user request.

Feel free to submit PRs to improve this, or wait until I get around to it myself.

Support

Please use GitHub issues for support, as they're the easiest way to get in touch with me. Feel free to submit feature requests and bug reports, and I'll do what I can to implement them!

If you think you found a bug or you have a feature idea to propose, feel free to open an issue after looking at the contributing guide.

License

This package is available under the MIT license, and was originally forked from the seemingly abandoned Sonata Project fork.

统计信息

  • 总下载量: 866
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-12-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固