Skip to content

Commit

Permalink
VAG: fix login
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed May 22, 2024
1 parent 7b8aeef commit 73ece1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vehicle/vag/vwidentity/forms.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func ParseCredentialsPage(r io.ReadCloser) (CredentialParams, error) {
re2 := regexp.MustCompile(`(?s),\s+}`)
tmpl = re2.ReplaceAllString(tmpl, "}")

for _, v := range []string{"templateModel", "disabledFeatures", "isFooterEnabled", "currentLocale", "csrf_parameterName", "csrf_token", "userSession", "userId", "countryOfResidence", "baseUrl", "consentBaseUrl"} {
for _, v := range []string{"templateModel", "disabledFeatures", "isFooterEnabled", "currentLocale", "csrf_parameterName", "csrf_token", "userSession", "userId", "countryOfResidence", "baseUrl", "consentBaseUrl", "isRTLEnabled"} {
tmpl = strings.Replace(tmpl, v, fmt.Sprintf(`"%s"`, v), 1)
}

Expand Down

0 comments on commit 73ece1b

Please sign in to comment.