项目作者: cretueusebiu

项目描述 :
Google Authenticator support for Laravel Spark
高级语言: PHP
项目地址: git://github.com/cretueusebiu/laravel-spark-google2fa.git
创建时间: 2016-04-18T18:18:01Z
项目社区:https://github.com/cretueusebiu/laravel-spark-google2fa

开源协议:MIT License

下载


Google Authenticator for Laravel Spark 9

This package replaces the default two-factor authentication driver with Google Authenticator.

Demo

Installation

  • composer require eusebiu/laravel-spark-google2fa
  • php artisan vendor:publish --provider="Eusebiu\LaravelSparkGoogle2FA\Google2FAServiceProvider" --force
  • php artisan migrate
  • npm run dev

Customization

To change the display name in the authenticator app, add 2fa_name in your SparkServiceProvider file. By default vendor or the app url is used.