2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Redirect if not authed

If user not logged in, redirect any requests to login page
This commit is contained in:
Oliver
2018-05-10 20:40:08 +10:00
parent 57713556d1
commit 7b478fed4e
5 changed files with 83 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<div class="navbar-header clearfix content-heading">
<a class="navbar-brand" id='logo' href="{% url 'index' %}"><img src="{% static 'img/inventree.png' %}" width="40" height="40"/></a>
</div>
<ul class="nav navbar-nav">