Switch to UniAuth.auth
This commit is contained in:
parent
5f0d2e884f
commit
fc36647d49
2 changed files with 2 additions and 38 deletions
|
|
@ -11,11 +11,11 @@ import typing
|
|||
from datetime import date, datetime, timedelta
|
||||
|
||||
import flask
|
||||
import UniAuth.auth
|
||||
import werkzeug
|
||||
import werkzeug.debug.tbtools
|
||||
import yaml
|
||||
|
||||
import agenda.auth
|
||||
import agenda.data
|
||||
import agenda.error_mail
|
||||
import agenda.holidays
|
||||
|
|
@ -28,7 +28,7 @@ app = flask.Flask(__name__)
|
|||
app.debug = False
|
||||
app.config.from_object("config.default")
|
||||
|
||||
app.before_request(agenda.auth.require_authentication)
|
||||
app.before_request(UniAuth.auth.require_authentication)
|
||||
|
||||
agenda.error_mail.setup_error_mail(app)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue