aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views/Account/Login.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'ExamTemplate/Web/Views/Account/Login.cshtml')
-rw-r--r--ExamTemplate/Web/Views/Account/Login.cshtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ExamTemplate/Web/Views/Account/Login.cshtml b/ExamTemplate/Web/Views/Account/Login.cshtml
index 688c547..82a90c0 100644
--- a/ExamTemplate/Web/Views/Account/Login.cshtml
+++ b/ExamTemplate/Web/Views/Account/Login.cshtml
@@ -11,4 +11,13 @@
<span asp-validation-for="Password" class="form-error"></span>
<input type="submit">
+
+ @if (Model != null)
+ {
+ <p class="form-error">
+ Invalid credentials or account doesn't exist!
+ </p>
+ }
</form>
+
+