Browse Source

More cookie stuff

pull/1/head
Ravi Shah 5 years ago
parent
commit
07aa303616
  1. 2
      garage_door_script.py

2
garage_door_script.py

@ -49,7 +49,7 @@ def login():
error = 'Invalid Credentials. Please try again.' error = 'Invalid Credentials. Please try again.'
else: else:
correct_login = 1 correct_login = 1
return redirect(url_for('index'))
return redirect(url_for('cookie'))
return render_template('login.html', error=error) return render_template('login.html', error=error)
# Route for the login page # Route for the login page

Loading…
Cancel
Save