aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/setting/applications.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/setting/applications.go b/routers/user/setting/applications.go
index 90e34d9e1a..d93684bcc0 100644
--- a/routers/user/setting/applications.go
+++ b/routers/user/setting/applications.go
@@ -49,7 +49,7 @@ func ApplicationsPost(ctx *context.Context, form auth.NewAccessTokenForm) {
}
ctx.Flash.Success(ctx.Tr("settings.generate_token_success"))
- ctx.Flash.Info(t.Sha1)
+ ctx.Flash.Info(t.Token)
ctx.Redirect(setting.AppSubURL + "/user/settings/applications")
}