imporved auth verify logs
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 1m41s
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 1m41s
This commit is contained in:
parent
6c2c305e2d
commit
8e2806deb2
@ -175,8 +175,8 @@ func (con AuthApi) Verify(ctx *gin.Context) {
|
||||
|
||||
switch service {
|
||||
case "browsers":
|
||||
fmt.Printf("%#v %s", claims, serverId)
|
||||
serverPermissions, err := con.serverAuthDbHandler.GetPermissions(ctx, claims.Username, serverId)
|
||||
fmt.Printf("User: %s | GlobalPermissions: %d | ServerId: %s | ServerPermissions: %d\n", claims.Username, claims.Permissions, serverId, serverPermissions)
|
||||
if err != nil {
|
||||
ctx.AbortWithError(500, err)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user