mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-25 00:54:18 +00:00
Don't require login to view the credits page and require it for the fish
This commit is contained in:
parent
7bd25e9638
commit
afb4dc2e0a
1 changed files with 2 additions and 2 deletions
|
@ -731,8 +731,6 @@ def page_query():
|
|||
@app.route('/smecds')
|
||||
def page_smecds():
|
||||
"""Pagina che visualizza i credits del sito"""
|
||||
if 'username' not in session:
|
||||
return abort(403)
|
||||
return render_template("smecds.htm", pagetype="main", user=session.get("username"))
|
||||
|
||||
|
||||
|
@ -740,6 +738,8 @@ def page_smecds():
|
|||
def page_pheesh():
|
||||
"""Acquario del sito.
|
||||
I pesci sono generati dinamicamente basandosi sui dati presenti nel database."""
|
||||
if 'username' not in session:
|
||||
return abort(403)
|
||||
enti = Ente.query.all()
|
||||
servizi = Servizio.query.all()
|
||||
impiegati = Impiegato.query.all()
|
||||
|
|
Loading…
Reference in a new issue