-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from LifeOnScreen/development
v0.0.5
- Loading branch information
Showing
4 changed files
with
96 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,38 @@ | ||
<?php | ||
|
||
return [ | ||
/** | ||
* Disable or enable middleware. | ||
*/ | ||
'enabled' => env('GOOGLE_2FA_ENABLED', true), | ||
|
||
'models' => [ | ||
/** | ||
* Change this variable to your User model. | ||
*/ | ||
'user' => 'App\User', | ||
], | ||
'tables' => [ | ||
/** | ||
* Table in witch users are stored. | ||
*/ | ||
'user' => 'users', | ||
], | ||
|
||
'recovery_codes' => [ | ||
/** | ||
* Number of recovery codes that will be generated. | ||
*/ | ||
'count' => 8, | ||
|
||
/** | ||
* Number of blocks in each recovery code. | ||
*/ | ||
'blocks' => 3, | ||
|
||
/** | ||
* Number of characters in each block in recovery code. | ||
*/ | ||
'chars_in_block' => 16, | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters