LoginBasic: Remove useless header
authorMikael Berthe <mikael@lilotux.net>
Sat, 15 Apr 2017 00:39:43 +0200
changeset 119 22c8c58ad61b
parent 118 d9c798e09f0a
child 120 579912e9d0ef
LoginBasic: Remove useless header
login.go
--- a/login.go	Fri Apr 14 23:25:51 2017 +0200
+++ b/login.go	Sat Apr 15 00:39:43 2017 +0200
@@ -29,7 +29,6 @@
 	opts := make(map[string]string)
 
 	hdrs["User-Agent"] = "Gondole/" + GondoleVersion
-	hdrs["Authorization"] = "Bearer " + g.Secret
 
 	opts["grant_type"] = "password"
 	opts["client_id"] = g.ID