mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
minor fixes and doc improvements
This commit is contained in:
@@ -71,6 +71,7 @@ func (c *jwtTokenClaims) asMap() map[string]interface{} {
|
||||
}
|
||||
|
||||
func (c *jwtTokenClaims) Decode(token map[string]interface{}) {
|
||||
c.Permissions = nil
|
||||
username := token[claimUsernameKey]
|
||||
|
||||
switch v := username.(type) {
|
||||
|
||||
Reference in New Issue
Block a user