|
|
@ -60,10 +60,7 @@ func runWeb(*cli.Context) { |
|
|
|
|
|
|
|
|
|
|
|
reqSignIn := middleware.Toggle(&middleware.ToggleOptions{SignInRequire: true}) |
|
|
|
reqSignIn := middleware.Toggle(&middleware.ToggleOptions{SignInRequire: true}) |
|
|
|
ignSignIn := middleware.Toggle(&middleware.ToggleOptions{SignInRequire: base.Service.RequireSignInView}) |
|
|
|
ignSignIn := middleware.Toggle(&middleware.ToggleOptions{SignInRequire: base.Service.RequireSignInView}) |
|
|
|
ignSignInAndCsrf := middleware.Toggle(&middleware.ToggleOptions{ |
|
|
|
ignSignInAndCsrf := middleware.Toggle(&middleware.ToggleOptions{DisableCsrf: true}) |
|
|
|
SignInRequire: base.Service.RequireSignInView, |
|
|
|
|
|
|
|
DisableCsrf: true, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reqSignOut := middleware.Toggle(&middleware.ToggleOptions{SignOutRequire: true}) |
|
|
|
reqSignOut := middleware.Toggle(&middleware.ToggleOptions{SignOutRequire: true}) |
|
|
|
|
|
|
|
|
|
|
|