-
Notifications
You must be signed in to change notification settings - Fork 0
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 coostax/minor_fixes_for_prod
Minor fixes for prod
- Loading branch information
Showing
4 changed files
with
71 additions
and
10 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
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 |
---|---|---|
|
@@ -20,6 +20,8 @@ export APP_LOCALE=en | |
export TWOFACTOR_AUTH=false | ||
export TWOFACTOR_SENDER='[email protected]' | ||
export FROM_EMAIL='[email protected]' | ||
export ANYONE_CAN_REGISTER=false | ||
export FOS_USER_CONFIRMATION=false | ||
|
||
#Create assets folder | ||
if ! bashio::fs.directory_exists "/data/wallabag/assets"; then | ||
|
@@ -138,6 +140,15 @@ if bashio::config.has_value 'twofactor_sender';then | |
TWOFACTOR_SENDER=$(bashio::config "twofactor_sender") | ||
fi | ||
|
||
# User registration options | ||
if bashio::config.has_value 'anyone_can_register';then | ||
ANYONE_CAN_REGISTER=$(bashio::config "anyone_can_register") | ||
fi | ||
|
||
if bashio::config.has_value 'fosuser_confirmation';then | ||
FOS_USER_CONFIRMATION=$(bashio::config "fosuser_confirmation") | ||
fi | ||
|
||
bashio::log.info "Setting up parameters.yml" | ||
# Set parameters.yml | ||
if bashio::fs.file_exists "/opt/wallabag/config/parameters.yml"; then | ||
|
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