changeset 5474 | 40c990159006 |
parent 5473 | 03f393d572fe |
child 5475 | d4d333cb75b2 |
--- a/mod_http_oauth2/mod_http_oauth2.lua Thu May 18 13:03:09 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Thu May 18 13:19:25 2023 +0200 @@ -57,7 +57,7 @@ data = data or {}; data.site_name = site_name; local resp = { - status_code = 200; + status_code = data.error and data.error.code or 200; headers = { ["Content-Type"] = "text/html; charset=utf-8"; ["Content-Security-Policy"] = "default-src 'self'";