Yaswanth56 commited on
Commit
9a43d30
·
verified ·
1 Parent(s): b6d5e46

Update templates/login.html

Browse files
Files changed (1) hide show
  1. templates/login.html +4 -0
templates/login.html CHANGED
@@ -11,6 +11,10 @@
11
  <div class="login-container">
12
  <h1>Welcome Back</h1>
13
  <p>Login to your Account</p>
 
 
 
 
14
  <form action="/auth" method="POST">
15
  <div class="input-group">
16
  <input type="email" name="email" placeholder="User Name / Email" required>
 
11
  <div class="login-container">
12
  <h1>Welcome Back</h1>
13
  <p>Login to your Account</p>
14
+ <!-- Display error message if any -->
15
+ {% if error %}
16
+ <p style="color: red; font-weight: bold;">{{ error }}</p>
17
+ {% endif %}
18
  <form action="/auth" method="POST">
19
  <div class="input-group">
20
  <input type="email" name="email" placeholder="User Name / Email" required>