Align structs

pull/3076/head
Juan Calderon-Perez 2024-07-25 00:33:34 -04:00
parent d1865491b6
commit 7ae39c4d14
2 changed files with 2 additions and 2 deletions

View File

@ -60,9 +60,9 @@ type RedirectConfig struct {
// CookieConfig is a struct that holds the cookie configuration for the redirect.
type CookieConfig struct {
Name string
SameSite string
HTTPOnly bool
Secure bool
SameSite string
}
// AcquireRedirect return default Redirect reference from the redirect pool

View File

@ -244,8 +244,8 @@ func Test_Redirect_Route_WithFlashMessages_RedirectConfig(t *testing.T) {
tests := []struct {
name string
cookieConfig CookieConfig
expectedValue string
cookieConfig CookieConfig
}{
{
name: "Default RedirectConfig",