backend + web: Improve validation and email retry handling
This commit is contained in:
1 parent
e9782a1413
commit
722d318898
13 files changed
+195
-44
No files matched your search
@@ -1,6 +1,7 @@
|
||||
@model RegisterViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Registrace";
|
||||
var resend = ViewData["VerificationEmailFailed"] is true;
|
||||
}
|
||||
|
||||
<section class="app-auth">
|
||||
@@ -27,7 +28,7 @@
|
||||
<span asp-validation-for="LastName" class="invalid-feedback d-block"></span>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary w-100">Poslat ověřovací e-mail</button>
|
||||
<button type="submit" class="btn btn-primary w-100">@(resend ? "Poslat ověřovací e-mail znovu" : "Poslat ověřovací e-mail")</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user