aboutsummaryrefslogtreecommitdiff
path: root/ui/oauth2_callback.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/oauth2_callback.go')
-rw-r--r--ui/oauth2_callback.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/oauth2_callback.go b/ui/oauth2_callback.go
index 23e379b2..a39c0ac7 100644
--- a/ui/oauth2_callback.go
+++ b/ui/oauth2_callback.go
@@ -114,6 +114,7 @@ func (c *Controller) OAuth2Callback(w http.ResponseWriter, r *http.Request) {
logger.Info("[Controller:OAuth2Callback] username=%s just logged in", user.Username)
c.store.SetLastLogin(user.ID)
sess.SetLanguage(user.Language)
+ sess.SetTheme(user.Theme)
http.SetCookie(w, cookie.New(
cookie.CookieUserSessionID,