diff --git a/GanjooRazor/Pages/SignUp.cshtml b/GanjooRazor/Pages/SignUp.cshtml index 4c434cc3..9c8c5c41 100644 --- a/GanjooRazor/Pages/SignUp.cshtml +++ b/GanjooRazor/Pages/SignUp.cshtml @@ -24,6 +24,7 @@ } else + if (Model.SignupPhase1) {
} + else + if (Model.SignupVerifyEmailPhase) + { + + } diff --git a/GanjooRazor/Pages/SignUp.cshtml.cs b/GanjooRazor/Pages/SignUp.cshtml.cs index a8945b56..c586cb33 100644 --- a/GanjooRazor/Pages/SignUp.cshtml.cs +++ b/GanjooRazor/Pages/SignUp.cshtml.cs @@ -1,9 +1,10 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Newtonsoft.Json; using RSecurityBackend.Models.Auth.ViewModels; using System; using System.Net.Http; +using System.Text; using System.Threading.Tasks; namespace GanjooRazor.Pages @@ -25,14 +26,32 @@ namespace GanjooRazor.Pages public string CaptchaImageUrl { get; set; } + + public bool SignupPhase1 { get; set; } + + public bool SignupVerifyEmailPhase { get; set; } + + public bool SignupFinalPhase { get; set; } + [BindProperty] public UnverifiedSignUpViewModel SignUpViewModel { get; set; } + + [BindProperty] + public string Secret { get; set; } public async Task