Skip to content
Snippets Groups Projects
Commit 4bf59f11 authored by Carlos Vega's avatar Carlos Vega
Browse files

login page redirects to index if the user is already authenticated. Done in...

login page redirects to index if the user is already authenticated. Done in the template code since there is no view that handles this template
parent d5e0a397
No related branches found
No related tags found
1 merge request!192Feature/add way to change password and PERMISSIONS
Pipeline #7661 passed
{% load static %}<!DOCTYPE html> {% load static %}<!DOCTYPE html>
<html> <html>
<head> <head>
{% if user.is_authenticated %}
<meta http-equiv="REFRESH" content="0;url={% url 'web.views.index' %}">
{% endif %}
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Scheduling System | Log in</title> <title>Scheduling System | Log in</title>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment