Skoda: fix broken login after VW auth change
Some checks failed
Some checks failed
This commit is contained in:
parent
58b90cc651
commit
70d96a9207
1 changed files with 3 additions and 1 deletions
|
|
@ -231,7 +231,9 @@ func resolveLocation(base *url.URL, location string) (*url.URL, error) {
|
|||
}
|
||||
|
||||
func parseAuthLocation(u *url.URL) (url.Values, error) {
|
||||
u.RawQuery = u.Fragment
|
||||
if u.Fragment != "" {
|
||||
u.RawQuery = u.Fragment
|
||||
}
|
||||
|
||||
if errStr := u.Query().Get("error"); errStr != "" {
|
||||
return nil, errors.New(errStr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue