summaryrefslogtreecommitdiff
path: root/src/web_service/verify_user_jwt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_service/verify_user_jwt.cpp')
-rw-r--r--src/web_service/verify_user_jwt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_service/verify_user_jwt.cpp b/src/web_service/verify_user_jwt.cpp
index 3133dcbe2..2f294d378 100644
--- a/src/web_service/verify_user_jwt.cpp
+++ b/src/web_service/verify_user_jwt.cpp
@@ -35,9 +35,9 @@ std::string GetPublicKey(const std::string& host) {
35 35
36VerifyUserJWT::VerifyUserJWT(const std::string& host) : pub_key(GetPublicKey(host)) {} 36VerifyUserJWT::VerifyUserJWT(const std::string& host) : pub_key(GetPublicKey(host)) {}
37 37
38Network::VerifyUser::UserData VerifyUserJWT::LoadUserData(const std::string& verify_UID, 38Network::VerifyUser::UserData VerifyUserJWT::LoadUserData(const std::string& verify_uid,
39 const std::string& token) { 39 const std::string& token) {
40 const std::string audience = fmt::format("external-{}", verify_UID); 40 const std::string audience = fmt::format("external-{}", verify_uid);
41 using namespace jwt::params; 41 using namespace jwt::params;
42 std::error_code error; 42 std::error_code error;
43 auto decoded = 43 auto decoded =