mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
feat: profile api
This commit is contained in:
1 parent
333aa59eb6
commit
323f4d25c2
3 files changed
+19
No files matched your search
@@ -19,6 +19,7 @@ func initParams() *jwt.GinJWTMiddleware {
|
||||
Realm: singleton.Conf.SiteName,
|
||||
Key: []byte(singleton.Conf.JWTSecretKey),
|
||||
CookieName: "nz-jwt",
|
||||
SendCookie: true,
|
||||
Timeout: time.Hour,
|
||||
MaxRefresh: time.Hour,
|
||||
IdentityKey: model.CtxKeyAuthorizedUser,
|
||||
|
||||
Reference in new issue
Block a user