Mercurial > prosody-modules
changeset 4265:7b4a73364363
mod_http_oauth2: Add TODO
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Nov 2020 01:55:42 +0100 |
parents | 84bdf7e01744 |
children | b43c6d614d22 |
files | mod_http_oauth2/mod_http_oauth2.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Sun Nov 22 01:54:06 2020 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Sun Nov 22 01:55:42 2020 +0100 @@ -196,6 +196,7 @@ if not user then return 401; end + -- TODO ask user for consent here if not request.url.query then response.headers.content_type = "application/json"; return oauth_error("invalid_request");