request type

This commit is contained in:
Simon Martens
2025-05-23 09:55:23 +02:00
parent 9e922aa49a
commit f641a32cb5
7 changed files with 111 additions and 59 deletions

View File

@@ -88,10 +88,10 @@ func Authenticated(app core.App) func(*core.RequestEvent) error {
}
u := dbmodels.NewUser(r)
e.Set("access_token_user", u)
e.Set("access_token_user", u.Fixed())
}
e.Set("access_token", a)
e.Set("access_token", a.Fixed())
}
return e.Next()