aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/main.go1
-rw-r--r--templates/token.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/server/main.go b/server/main.go
index 402b321..bc460da 100644
--- a/server/main.go
+++ b/server/main.go
@@ -138,7 +138,6 @@ func callbackHandler(a *appContext, w http.ResponseWriter, r *http.Request) (int
if a.authsession.Token.Expiry.Unix() <= 0 {
a.authsession.Token.Expiry = time.Now().Add(1 * time.Hour)
}
- fmt.Println(a.authsession.Token)
a.setAuthCookie(w, r, a.authsession.Token)
http.Redirect(w, r, "/", http.StatusFound)
return http.StatusFound, nil
diff --git a/templates/token.html b/templates/token.html
index 8553c84..4513176 100644
--- a/templates/token.html
+++ b/templates/token.html
@@ -18,7 +18,7 @@
font-weight: bold;
height: auto;
margin: 12px 12px 12px 12px;
- padding: 12px 12px 12px 12px;
+ padding: 24px 12px 12px 12px;
resize: none;
text-align: center;
width: 960px;