Skip to content

Commit edd5936

Browse files
committed
Basic HTML Template
Based on Profiles
1 parent 6e834ae commit edd5936

File tree

13 files changed

+743
-9
lines changed

13 files changed

+743
-9
lines changed
File renamed without changes.

packet/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"""
44

55
import os
6+
7+
import csh_ldap as csh_ldap
68
from flask import Flask
79
from flask_pyoidc.flask_pyoidc import OIDCAuthentication
810
from flask_sqlalchemy import SQLAlchemy
@@ -27,6 +29,9 @@
2729
"client_secret": app.config["OIDC_CLIENT_SECRET"]
2830
})
2931

32+
# LDAP
33+
_ldap = csh_ldap.CSHLDAP(app.config['LDAP_BIND_DN'], app.config['LDAP_BIND_PASS'])
34+
3035
flask_saml.FlaskSAML(app)
3136

3237
# pylint: disable=wrong-import-position

0 commit comments

Comments
 (0)