Added domain blacklist regex for icons service and improved valid domain check.

Reorganized the icons code a bit.
This commit is contained in:
Daniel García
2019-03-18 22:12:39 +01:00
parent 4689ed7b30
commit 4b40cda910
3 changed files with 82 additions and 28 deletions

View File

@@ -62,6 +62,16 @@
## The default is 10 seconds, but this could be to low on slower network connections
# ICON_DOWNLOAD_TIMEOUT=10
## Icon blacklist Regex
## Any domains or IPs that match this regex won't be fetched by the icon service.
## Useful to hide other servers in the local network. Check the WIKI for more details
# ICON_BLACKLIST_REGEX=192\.168\.1\.[0-9].*^
## Disable 2FA remember
## Enabling this would force the users to use a second factor to login every time.
## Note that the checkbox would still be present, but ignored.
# DISABLE_2FA_REMEMBER=false
## Controls if new users can register
# SIGNUPS_ALLOWED=true