diff --git a/assets b/assets index b900a868..21a98194 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit b900a868aa9ab09df7876feb6ac2de40b3be23ae +Subproject commit 21a98194339c89e375ac7e34fdb93d4aa0d213ef diff --git a/routers/router.go b/routers/router.go index cf364b80..45bdec91 100644 --- a/routers/router.go +++ b/routers/router.go @@ -326,7 +326,7 @@ func initMasterRouter(dep dependency.Dep) *gin.Engine { controllers.GetAppRegistration, ) oauthRouter.POST("consent", - middleware.Logging(), + middleware.LoginRequired(), controllers.FromJSON[oauth.GrantService](oauth.GrantParamCtx{}), controllers.GrantAppConsent, )