# HG changeset patch # User Kim Alvefur # Date 1677876324 -3600 # Node ID b4932915e773298ea5a79f15d7effee18bb90b05 # Parent 25041e15994e467808e975f87adea75013f61598 mod_http_oauth2: Mention name of client when giving out OOB authorization code diff -r 25041e15994e -r b4932915e773 mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 03 21:45:05 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 03 21:45:24 2023 +0100 @@ -146,7 +146,7 @@ response.body = module:context("*"):fire_event("http-message", { response = response; title = "Your authorization code"; - message = "Here's your authorization code, copy and paste it into your app:"; + message = "Here's your authorization code, copy and paste it into " .. (client.client_name or "your client"); extra = code; }) or ("Here's your authorization code:\n%s\n"):format(code); return response;