New UUIDv4 generator

This commit is contained in:
stephb9959
2021-11-15 11:19:31 -08:00
parent 7940f0bd85
commit acb38e5313
6 changed files with 7 additions and 7 deletions

View File

@@ -86,7 +86,7 @@ namespace OpenWifi {
SecurityObjects::ActionLink NewLink;
NewLink.action = OpenWifi::SecurityObjects::LinkActions::FORGOT_PASSWORD;
NewLink.id = MicroService::instance().CreateUUID();
NewLink.id = MicroService::CreateUUID();
NewLink.userId = UInfo1.Id;
NewLink.created = std::time(nullptr);
NewLink.expires = NewLink.created + (24*60*60);