Skip to content

fix authentication check for REST API#16

Merged
ecorica merged 1 commit intomasterfrom
fix/authentification-rest
Feb 17, 2026
Merged

fix authentication check for REST API#16
ecorica merged 1 commit intomasterfrom
fix/authentification-rest

Conversation

@ecorica
Copy link
Contributor

@ecorica ecorica commented Feb 17, 2026

Dans un contexte de REST API "is_user_logged" ne fonctionne pas comme attendu et ne considère pas l'utilisateur connecté. En l'occurence dans la hook "status_header" le is_user_logged return false

Un check a été ajouté pour vérifier les cookies et retrouver l'utilisateur à partir des cookies WP

@ecorica ecorica merged commit fb72116 into master Feb 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants