From bd5505c109eaf5091d2fedb16ae8400d095e0dd6 Mon Sep 17 00:00:00 2001 From: jojo aquino Date: Fri, 21 Mar 2025 22:07:03 +0000 Subject: [PATCH] set user UID --- EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs index c08bc01..3f83594 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs @@ -46,7 +46,8 @@ namespace EnotaryoPH.Web.Pages Email = Email, PasswordHash = _passwordService.HashPassword(Password), PhoneNumber = PhoneNumber, - Role = RoleType + Role = RoleType, + User_UID = Guid.CreateVersion7(DateTime.UtcNow) }; _notaryoDBContext.Users.Add(newUser);