Software /
code /
prosody-modules
Changeset
6270:9014c95c4549
mod_http_oauth2: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 31 May 2025 16:07:18 +0200 |
parents | 6269:2505542c6c50 |
children | 6271:b63202d66238 |
files | mod_http_oauth2/mod_http_oauth2.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Sat May 31 13:36:39 2025 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Sat May 31 16:07:18 2025 +0200 @@ -399,11 +399,11 @@ end local function make_client_secret(client_id) --> client_secret - return hashes.hmac_sha256(verification_key, client_id, true); + return hashes.hmac_sha256(verification_key, client_id, true); end local function verify_client_secret(client_id, client_secret) - return hashes.equals(make_client_secret(client_id), client_secret); + return hashes.equals(make_client_secret(client_id), client_secret); end function grant_type_handlers.password(params, client)