From 6c1a7c52cc9c2349a50a5c5bd86de3160bd44892 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sun, 20 Oct 2024 23:19:05 +0000 Subject: [PATCH] fix: control type for `loginCookieSameSiteOption` --- src/Admin/Settings/AccessControlSettings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Admin/Settings/AccessControlSettings.php b/src/Admin/Settings/AccessControlSettings.php index e41917e..039ebc5 100644 --- a/src/Admin/Settings/AccessControlSettings.php +++ b/src/Admin/Settings/AccessControlSettings.php @@ -132,6 +132,7 @@ static function ( $header ) { 'description' => __( 'Login Cookie same-site option (None, Lax, Strict)', 'wp-graphql-headless-login' ), 'label' => __( 'Authentication Cookie - Samesite cookie mode', 'wp-graphql-headless-login' ), 'type' => 'string', + 'controlType' => 'select', 'default' => 'Lax', 'help' => __( 'If the "Set authentication cookie" option is enabled, you can choose the SameSite attribute for authentication. Choose "None" if cross-site access is required, "Lax" for moderate protection, or "Strict" for maximum protection.', 'wp-graphql-headless-login' ), 'isAdvanced' => true,