fixed code param
This commit is contained in:
parent
564f964f7f
commit
d75ba4f762
@ -137,7 +137,7 @@ authServer = handleAuth
|
|||||||
(pre, post) = splitAt qPos url
|
(pre, post) = splitAt qPos url
|
||||||
rState = case mState of {Just s -> "&state=" ++ s; Nothing -> ""}
|
rState = case mState of {Just s -> "&state=" ++ s; Nothing -> ""}
|
||||||
post' = if not (null post) then '&' : tail post else post
|
post' = if not (null post) then '&' : tail post else post
|
||||||
in Just . fromString $ pre ++ "?authorization_code=" ++ code ++ post' ++ rState
|
in Just . fromString $ pre ++ "?code=" ++ code ++ post' ++ rState
|
||||||
|
|
||||||
|
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user