This commit is contained in:
@ -19,7 +19,7 @@ app.config.update({
|
||||
'OIDC_SCOPES': ['openid', 'email', 'profile']
|
||||
})
|
||||
|
||||
# oidc = OpenIDConnect(app)
|
||||
oidc = OpenIDConnect(app)
|
||||
app.logger.handlers = logging.getLogger('gunicorn.error').handlers
|
||||
|
||||
datapw = 'dasrtwegdffgtewrt4335wferg'
|
||||
@ -73,7 +73,7 @@ def schulrunden(zahl, stellen=0, ist_kcal=False):
|
||||
|
||||
# Index-Route
|
||||
@app.route('/')
|
||||
# @oidc.require_login
|
||||
@oidc.require_login
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
|
Reference in New Issue
Block a user