Skip to content

Commit

Permalink
fix(daemon): fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTermor committed Jun 16, 2024
1 parent f96d11c commit 3bb387b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/presentation/web-filters/JwtFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void JwtFilter::doFilter(const HttpRequestPtr &request,

if (token.empty()) {
return fcb(drogon_helpers::make_error_response(
"Authentification header is not found", k401Unauthorized));
"Authentication token is missing", k401Unauthorized));
}

auto verifier =
Expand All @@ -62,7 +62,7 @@ void JwtFilter::doFilter(const HttpRequestPtr &request,

if (ec) {
return fcb(drogon_helpers::make_error_response(
"Authentification token is invalid", k401Unauthorized));
"Authentication token is invalid", k401Unauthorized));
}

if (!decoded->has_payload_claim("storage")) {
Expand Down

0 comments on commit 3bb387b

Please sign in to comment.