# HG changeset patch # User Kim Alvefur # Date 1730850197 -3600 # Node ID 889d24be0a490d0bc6619dab482f9768bd14eb4a # Parent 4ed37206cd9eb9e5ab7995f039e93831cee19a9b mod_auth_http: Fixup code block syntax diff -r 4ed37206cd9e -r 889d24be0a49 mod_auth_http/README.md --- a/mod_auth_http/README.md Wed Nov 06 00:34:40 2024 +0100 +++ b/mod_auth_http/README.md Wed Nov 06 00:43:17 2024 +0100 @@ -70,17 +70,16 @@ With the following configuration: -``` +``` lua authentication = "http" http_auth_url = "https://auth.example.net/api" +``` If a user connects and tries to log in to Prosody as "romeo@example.net" with the password "iheartjuliet", Prosody would make the following HTTP request: -``` -https://auth.example.net/api/check_password?user=romeo&server=example.net&pass=iheartjuliet -``` + https://auth.example.net/api/check_password?user=romeo&server=example.net&pass=iheartjuliet # Compatibility