diff --git a/smash/web/templates/login.html b/smash/web/templates/login.html index e3ba68154ec303856c01c9e10ccad9f7671528b6..9de902ceacbfe6584ab6624c551ddba2e13d30f2 100644 --- a/smash/web/templates/login.html +++ b/smash/web/templates/login.html @@ -1,6 +1,9 @@ {% load static %}<!DOCTYPE html> <html> <head> + {% if user.is_authenticated %} + <meta http-equiv="REFRESH" content="0;url={% url 'web.views.index' %}"> + {% endif %} <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Scheduling System | Log in</title>