aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/auth/authmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/auth/authmgr.cpp')
-rw-r--r--src/zenhttp/auth/authmgr.cpp7
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)
{