aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-08 18:35:53 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-08 18:35:53 +0300
commitd1cb22d3acb22532a13b4e9991f867d22565a897 (patch)
tree1aeba9c844d9c152311ae6add73a35d7465320fb /ExamTemplate/Web/Views
parente3af1e39bd7cd1b2f8a4989388d76ee4be943b4c (diff)
downloadit-kariera-exam-template-d1cb22d3acb22532a13b4e9991f867d22565a897.tar
it-kariera-exam-template-d1cb22d3acb22532a13b4e9991f867d22565a897.tar.gz
it-kariera-exam-template-d1cb22d3acb22532a13b4e9991f867d22565a897.zip
Added login message when login was unsuccessful
Diffstat (limited to 'ExamTemplate/Web/Views')
-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>
+
+