Skip to content

Commit ef2231f

Browse files
authored
Update tripwire link (#5493)
1 parent f812026 commit ef2231f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

internal/api/authentication.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ import (
1616

1717
const (
1818
tripwireActivatedErrMsg = "Stash is exposed to the public internet without authentication, and is not serving any more content to protect your privacy. " +
19-
"More information and fixes are available at https://docs.stashapp.cc/networking/authentication-required-when-accessing-stash-from-the-internet"
19+
"More information and fixes are available at https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet"
2020

2121
externalAccessErrMsg = "You have attempted to access Stash over the internet, and authentication is not enabled. " +
2222
"This is extremely dangerous! The whole world can see your your stash page and browse your files! " +
2323
"Stash is not answering any other requests to protect your privacy. " +
24-
"Please read the log entry or visit https://docs.stashapp.cc/networking/authentication-required-when-accessing-stash-from-the-internet"
24+
"Please read the log entry or visit https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet"
2525
)
2626

2727
func allowUnauthenticated(r *http.Request) bool {

internal/manager/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ func (i *Config) GetDefaultGenerateSettings() *models.GenerateMetadataOptions {
15331533
}
15341534

15351535
// GetDangerousAllowPublicWithoutAuth determines if the security feature is enabled.
1536-
// See https://docs.stashapp.cc/networking/authentication-required-when-accessing-stash-from-the-internet
1536+
// See https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet
15371537
func (i *Config) GetDangerousAllowPublicWithoutAuth() bool {
15381538
return i.getBool(dangerousAllowPublicWithoutAuth)
15391539
}

pkg/session/authentication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ func LogExternalAccessError(err ExternalAccessError) {
8181
"You probably forwarded a port from your router. At the very least, add a password to stash in the settings. \n"+
8282
"Stash will not serve requests until you edit config.yml, remove the security_tripwire_accessed_from_public_internet key and restart stash. \n"+
8383
"This behaviour can be overridden (but not recommended) by setting dangerous_allow_public_without_auth to true in config.yml. \n"+
84-
"More information is available at https://docs.stashapp.cc/networking/authentication-required-when-accessing-stash-from-the-internet \n"+
84+
"More information is available at https://docs.stashapp.cc/faq/setup/#protecting-against-accidental-exposure-to-the-internet \n"+
8585
"Stash is not answering any other requests to protect your privacy.", net.IP(err).String())
8686
}

0 commit comments

Comments
 (0)