Software /
code /
prosody-modules
Changeset
5258:9629971e307f
mod_http_oauth2: Fix userinfo status code off-by-one
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Mar 2023 19:59:32 +0100 |
parents | 5257:b2120fb4a279 |
children | 5259:8fba651b10ef |
files | mod_http_oauth2/mod_http_oauth2.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Thu Mar 16 19:28:44 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Thu Mar 16 19:59:32 2023 +0100 @@ -723,7 +723,7 @@ -- permissions and scopes granted. } return { - status_code = 201; + status_code = 200; headers = { content_type = "application/json" }; body = json.encode(user_info); };