aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-18 23:08:31 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-18 23:08:31 +0100
commite74f5b423e514560d5a7bcca480c3c901bfae54e (patch)
tree6368cc8ed96bb3e42df618b4f8e5be29fa6a3823
parent748ae6cf5a681588ca370a92c1a0e42a987d79d5 (diff)
misc
-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;