stephb9959
2022-08-01 09:43:48 -07:00
parent ae82160c7f
commit 122a73f35e
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) {