diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml index 60063f3..dbe8d19 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml @@ -39,8 +39,8 @@
-
-
+
+
diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs index ac2bf28..3604873 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Register.cshtml.cs @@ -17,7 +17,11 @@ namespace EnotaryoPH.Web.Pages _passwordService = passwordService; } - public void OnGet() => RoleType = nameof(UserType.Principal); + public void OnGet() + { + RoleType = nameof(UserType.Principal); + BirthDate = DateTime.Now.AddYears(-18); + } public IActionResult OnPost() {