Skip to content

Commit 81af3ed

Browse files
committed
update
1 parent 5017711 commit 81af3ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ The Wordpress authentication middleware defines three routes:
858858

859859
A user can be logged in by sending it's username and password to the login endpoint (in JSON format).
860860
The user can be logged out by sending a POST request with an empty body to the logout endpoint.
861+
You need to specify the Wordpress installation directory using the "wpAuth.wpDirectory" configuration parameter.
861862
The middleware calls "wp-load.php" this allows you to use Wordpress functions in the authorization middleware, like:
862863

863864
- wp_get_current_user()

0 commit comments

Comments
 (0)