mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-31 07:56:35 +00:00
removed unsused
This commit is contained in:
@@ -77,12 +77,6 @@ func handleCallback(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
q, err := json.MarshalIndent(resp, "", " ")
|
|
||||||
if err != nil {
|
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var data map[string]interface{}
|
var data map[string]interface{}
|
||||||
if err := json.Unmarshal(*resp.IDTokenClaims, &data); err != nil {
|
if err := json.Unmarshal(*resp.IDTokenClaims, &data); err != nil {
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
|
|||||||
Reference in New Issue
Block a user