mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-28 17:07:53 +01:00
Convert db backend to use Gorm, with basis for support
for Mysql and Postgres in addition to existing Sqlite
This commit is contained in:
93 files changed
+1215
-3075
No files matched your search
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
// UserJWTClaims is the structure of a JWT for a User
|
||||
type UserJWTClaims struct {
|
||||
UserID int `json:"uid"`
|
||||
UserID uint `json:"uid"`
|
||||
Roles []string `json:"roles"`
|
||||
jwt.StandardClaims
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user