Add authentication via UniAuth
This commit is contained in:
parent
6d65f5045e
commit
2b89ff7ff9
2 changed files with 32 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import werkzeug
|
|||
import werkzeug.debug.tbtools
|
||||
import yaml
|
||||
|
||||
import agenda.auth
|
||||
import agenda.data
|
||||
import agenda.error_mail
|
||||
import agenda.holidays
|
||||
|
|
@ -27,6 +28,8 @@ app = flask.Flask(__name__)
|
|||
app.debug = False
|
||||
app.config.from_object("config.default")
|
||||
|
||||
app.before_request(agenda.auth.require_authentication)
|
||||
|
||||
agenda.error_mail.setup_error_mail(app)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue