Merge pull request #62 from Telecominfraproject/WIFI-10388

https://telecominfraproject.atlassian.net/browse/WIFI-10388
This commit is contained in:
Stephane Bourque
2022-08-01 09:44:42 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -276,11 +276,11 @@ namespace OpenWifi {
/// TODO:
}
void RESTAPI_action_links::RequestSubResetPassword(SecurityObjects::ActionLink &Link) {
void RESTAPI_action_links::RequestSubResetPassword([[maybe_unused]] SecurityObjects::ActionLink &Link) {
}
void RESTAPI_action_links::DoSubEmailVerification(SecurityObjects::ActionLink &Link) {
void RESTAPI_action_links::DoSubEmailVerification([[maybe_unused]] SecurityObjects::ActionLink &Link) {
}

View File

@@ -29,7 +29,7 @@ namespace OpenWifi {
}
static std::string MakeSessionId(const std::string & token) {
return MicroService::instance().CreateHash(token);
return Utils::ComputeHash(token);
}
void LoginDB::AddLogin( const std::string & userId, const std::string & email, const std::string &token) {