Changeset

6040:889d24be0a49

mod_auth_http: Fixup code block syntax
author Kim Alvefur <zash@zash.se>
date Wed, 06 Nov 2024 00:43:17 +0100
parents 6039:4ed37206cd9e
children 6041:f301d777ee49
files mod_auth_http/README.md
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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