mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00: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:
@ -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