Commit 94f450a3 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: removal of logout functions/buttons

they are useless since basic auth
parent f8e7bf32
......@@ -67,8 +67,6 @@
<div class="block_header">
<a href="{{ url_for('home') }}" style="float:left;" id="home" title="Home"><img alt="" src="{{ url_for('static', filename='images/home.png') }}" /></a>
<div class="line"></div>
<a href="{{ url_for('dologout') }}" style="float:left" title="Close your session"><img alt="" src="{{ url_for('static', filename='images/logout.png') }}" /></a>
<div class="line"></div>
<h2 class="info">{% block title %}{% endblock %} - {{session.title}}</h2>
<div class="run">
<div id="running" style="display:none">
......@@ -97,8 +95,6 @@
<li class='sep'></li>
<li><a href="{{ url_for('browseWorkspace') }}">Browse Workspace</a></li>
<li><a href="{{ url_for('inspectSoftware') }}">My Software Releases</a></li>
<li class='sep'></li>
<li><a href="{{ url_for('dologout') }}">Log out</a></li>
</ul>
</li>
<li class='right_menu slapos_run' id="softrun"><a href="{{ url_for('runSoftwareProfile') }}"></a>
......
......@@ -8,7 +8,6 @@ import shutil
import urllib
import json
from flaskext.auth import logout
from flask import (Flask, request, redirect, url_for, render_template,
g, flash, jsonify, session, abort, send_file)
......@@ -93,12 +92,6 @@ def myAccount():
params=getBuildAndRunParams(app.config))
@app.route("/dologout")
def dologout():
_ = logout()
return redirect(url_for('login'))
def manageRepository():
public_key = open(app.config['public_key']).read()
account = getSession(app.config)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment