Skip to content
Snippets Groups Projects
Commit 1a27e2c7 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

fix client secret length

parent 0ee7749d
No related branches found
No related tags found
No related merge requests found
Pipeline #7988 passed
...@@ -423,7 +423,7 @@ func main() { ...@@ -423,7 +423,7 @@ func main() {
clientId = pageContent[clientIdStartIndex : clientIdStartIndex+clientIdLength] clientId = pageContent[clientIdStartIndex : clientIdStartIndex+clientIdLength]
//Check for client_secret //Check for client_secret
clientSecretKey := "client_secret=" clientSecretKey := "client_secret="
clientSecretLength := 14 clientSecretLength := 16
clientSecretStartIndex := strings.Index(pageContent, clientSecretKey) clientSecretStartIndex := strings.Index(pageContent, clientSecretKey)
if clientSecretStartIndex == -1 { if clientSecretStartIndex == -1 {
log.Error("No client_secret found") log.Error("No client_secret found")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment