mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Update tripwire link to direct to the forum
This commit is contained in:
parent
26fe812be4
commit
95aaf43b57
3 changed files with 4 additions and 4 deletions
|
|
@ -16,12 +16,12 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
tripwireActivatedErrMsg = "Stash is exposed to the public internet without authentication, and is not serving any more content to protect your privacy. " +
|
tripwireActivatedErrMsg = "Stash is exposed to the public internet without authentication, and is not serving any more content to protect your privacy. " +
|
||||||
"More information and fixes are available at https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet"
|
"More information and fixes are available at https://discourse.stashapp.cc/t/-/1658"
|
||||||
|
|
||||||
externalAccessErrMsg = "You have attempted to access Stash over the internet, and authentication is not enabled. " +
|
externalAccessErrMsg = "You have attempted to access Stash over the internet, and authentication is not enabled. " +
|
||||||
"This is extremely dangerous! The whole world can see your your stash page and browse your files! " +
|
"This is extremely dangerous! The whole world can see your your stash page and browse your files! " +
|
||||||
"Stash is not answering any other requests to protect your privacy. " +
|
"Stash is not answering any other requests to protect your privacy. " +
|
||||||
"Please read the log entry or visit https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet"
|
"Please read the log entry or visit https://discourse.stashapp.cc/t/-/1658"
|
||||||
)
|
)
|
||||||
|
|
||||||
func allowUnauthenticated(r *http.Request) bool {
|
func allowUnauthenticated(r *http.Request) bool {
|
||||||
|
|
|
||||||
|
|
@ -1534,7 +1534,7 @@ func (i *Config) GetDefaultGenerateSettings() *models.GenerateMetadataOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetDangerousAllowPublicWithoutAuth determines if the security feature is enabled.
|
// GetDangerousAllowPublicWithoutAuth determines if the security feature is enabled.
|
||||||
// See https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet
|
// See https://discourse.stashapp.cc/t/-/1658
|
||||||
func (i *Config) GetDangerousAllowPublicWithoutAuth() bool {
|
func (i *Config) GetDangerousAllowPublicWithoutAuth() bool {
|
||||||
return i.getBool(dangerousAllowPublicWithoutAuth)
|
return i.getBool(dangerousAllowPublicWithoutAuth)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,6 @@ func LogExternalAccessError(err ExternalAccessError) {
|
||||||
"You probably forwarded a port from your router. At the very least, add a password to stash in the settings. \n"+
|
"You probably forwarded a port from your router. At the very least, add a password to stash in the settings. \n"+
|
||||||
"Stash will not serve requests until you edit config.yml, remove the security_tripwire_accessed_from_public_internet key and restart stash. \n"+
|
"Stash will not serve requests until you edit config.yml, remove the security_tripwire_accessed_from_public_internet key and restart stash. \n"+
|
||||||
"This behaviour can be overridden (but not recommended) by setting dangerous_allow_public_without_auth to true in config.yml. \n"+
|
"This behaviour can be overridden (but not recommended) by setting dangerous_allow_public_without_auth to true in config.yml. \n"+
|
||||||
"More information is available at https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet \n"+
|
"More information is available at https://discourse.stashapp.cc/t/-/1658 \n"+
|
||||||
"Stash is not answering any other requests to protect your privacy.", net.IP(err).String())
|
"Stash is not answering any other requests to protect your privacy.", net.IP(err).String())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue