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,