diff options
Diffstat (limited to 'src/zenhttp/auth/authmgr.cpp')
| -rw-r--r-- | src/zenhttp/auth/authmgr.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/zenhttp/auth/authmgr.cpp b/src/zenhttp/auth/authmgr.cpp index 88f7776e0..f75e4edb2 100644 --- a/src/zenhttp/auth/authmgr.cpp +++ b/src/zenhttp/auth/authmgr.cpp @@ -411,7 +411,12 @@ private: } } - ZEN_DEBUG("refreshing '{}' OpenID token(s)", ExpiredTokens.size()); + if (ExpiredTokens.empty()) + { + continue; + } + + ZEN_DEBUG("refreshing {} OpenID token(s)", ExpiredTokens.size()); for (const auto& Kv : ExpiredTokens) { |