mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
request type
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user