Skip to content

Commit f522e94

Browse files
committed
del jwt
1 parent f7eaf61 commit f522e94

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

jwt_controller.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ std::string jwtDecrypt(const std::string &token)
3434
}
3535
catch (const std::exception &e)
3636
{
37-
std::cout << "Failed to decrypt JWT: " + std::string(e.what()) << std::endl;
38-
throw std::runtime_error("Failed to decrypt JWT");
37+
// std::cout << "Failed to decrypt JWT: " + std::string(e.what()) << std::endl;
38+
// throw std::runtime_error("Failed to decrypt JWT");
3939
}
4040
}
4141

mysql.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ void sql_unlocked(const std::string& DeleteName);
88
void sql_add(const std::string& username, const std::string& passwd, int avatar);
99
bool sql_check(const std::string&, const std::string& passwd = "@DEFAULT@");
1010
void sql_addhistory(const std::string&, const std::string&, const std::string&, const std::string&);
11-
void sql_addconnect(std::string connectptr);
12-
1311
void sql_addrequest(const std::string& send, const std::string& receiver);
1412
void sql_process_request(const std::string&, const std::string&, const std::string&);
1513
Json::Value sql_find_my_msg(const std::string&, const std::string&);

0 commit comments

Comments
 (0)