fix: hardcoded token title param
This commit is contained in:
@@ -75,7 +75,7 @@ func (v *linkValidatorImpl) ValidateLink(rawURL string) (token string, ok bool)
|
||||
}
|
||||
}
|
||||
|
||||
token = parsedURL.Query().Get("token")
|
||||
token = parsedURL.Query().Get(v.config.Communication.QrQueryToken)
|
||||
if token == "" {
|
||||
v.log.Debug("URL missing token parameter", "url", rawURL)
|
||||
return "", false
|
||||
|
||||
Reference in New Issue
Block a user