mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-18 03:10:49 +01:00
Set IsDemoApp option as an .ENV variable
This commit is contained in:
parent
88b029bed4
commit
6cdf4cf207
@ -32,6 +32,12 @@ APP_KEY=SomeRandomStringOf32CharsExactly
|
|||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
|
||||||
|
# Turn this to true if you want your app to react like a demo.
|
||||||
|
# The Demo mode reset the app content every hours and set a generic demo user.
|
||||||
|
|
||||||
|
IS_DEMO_APP=false
|
||||||
|
|
||||||
|
|
||||||
# The log channel defines where your log entries go to.
|
# The log channel defines where your log entries go to.
|
||||||
# 'daily' is the default logging mode giving you 5 daily rotated log files in /storage/logs/.
|
# 'daily' is the default logging mode giving you 5 daily rotated log files in /storage/logs/.
|
||||||
# Several other options exist. You can use 'single' for one big fat error log (not recommended).
|
# Several other options exist. You can use 'single' for one big fat error log (not recommended).
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'options' => [
|
'options' => [
|
||||||
'isDemoApp' => false,
|
'isDemoApp' => env('IS_DEMO_APP', false),
|
||||||
'showTokenAsDot' => false,
|
'showTokenAsDot' => false,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user