# HG changeset patch # User Kim Alvefur # Date 1771428618 -3600 # Node ID cab284eaeb8123c3b1c2e4a22be1ceed1f4185e8 # Parent cdb9c2616c05e94b3caf86dd59e191d235ac888f mod_auth_oauth_external: Pass on storage error from account info In case the storage driver has a problem, that problem is reported instead of "Account not available" diff -r cdb9c2616c05 -r cab284eaeb81 mod_auth_oauth_external/mod_auth_oauth_external.lua --- a/mod_auth_oauth_external/mod_auth_oauth_external.lua Sat Feb 14 12:57:51 2026 +0100 +++ b/mod_auth_oauth_external/mod_auth_oauth_external.lua Wed Feb 18 16:30:18 2026 +0100 @@ -49,8 +49,8 @@ end function provider.get_account_info(username) - local account = accounts:get(username); - if not account then return nil, "Account not available"; end + local account, err = accounts:get(username); + if not account then return nil, err or "Account not available"; end return { created = account.created; password_updated = account.updated;