Skip to content

Commit

Permalink
fix: control type for loginCookieSameSiteOption
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 20, 2024
1 parent 0905a24 commit 6c1a7c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Admin/Settings/AccessControlSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6c1a7c5

Please sign in to comment.