Software /
code /
prosody-modules
Changeset
5195:b4932915e773
mod_http_oauth2: Mention name of client when giving out OOB authorization code
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 Mar 2023 21:45:24 +0100 |
parents | 5194:25041e15994e |
children | 5196:6b63af56c8ac |
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 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;