nexi-intra / nexi-booking-v2

https://nexi-booking.vercel.app
0 stars 0 forks source link

Bug: Cannot call database method unless having a valid token containing an upn #18

Open ngjoh opened 2 weeks ago

ngjoh commented 2 weeks ago

missing actor in case the system like to do an update

ngjoh commented 2 weeks ago

.koksmat/app/services/endpoints/app/process2.go

add check for empty upn

if upn == "" {
    upn = claims["app_displayname"].(string)

}
if upn == "" {

    upn = "system"
}