removing auth temporarily for easier usage

This commit is contained in:
Bryan Van Deusen
2025-12-21 18:51:38 -05:00
parent a77724dccc
commit 71d16dbfb3
2 changed files with 26 additions and 21 deletions
+6 -2
View File
@@ -11,7 +11,11 @@
<header>
<nav class="navbar">
<a class="nav-button" href="{{ url_for('main.gallery') if current_user.is_authenticated else url_for('main.index') }}">Home</a>
<a class="nav-button" href="{{ url_for('main.gallery') }}">Home</a>
<a class="nav-button" href="{{ url_for('main.tag_list', kind='artist') }}">Artists</a>
<a class="nav-button" href="{{ url_for('main.tag_list') }}">Tags</a>
<a class="nav-button" href="{{ url_for('main.settings') }}">Settings</a>
<!-- <a class="nav-button" href="{{ url_for('main.gallery') if current_user.is_authenticated else url_for('main.index') }}">Home</a>
{% if current_user.is_authenticated and current_user.is_admin %}
<a class="nav-button" href="{{ url_for('main.settings') }}">Settings</a>
@@ -24,7 +28,7 @@
{% else %}
<a class="nav-button" href="{{ url_for('auth.login') }}">Login</a>
<a class="nav-button" href="{{ url_for('auth.register') }}">Register</a>
{% endif %}
{% endif %} -->
</nav>
</header>