Skip to content

Commit 19ae3f6

Browse files
authored
Merge pull request #19 from JoelEager/death-to-saml
Removed saml dependency
2 parents 3c7a655 + 0d74deb commit 19ae3f6

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ADD requirements.txt /opt/packet
88
WORKDIR /opt/packet
99

1010
RUN apt-get -yq update && \
11-
apt-get -yq install libsasl2-dev libldap2-dev libssl-dev xmlsec1 && \
11+
apt-get -yq install libsasl2-dev libldap2-dev libssl-dev && \
1212
pip install -r requirements.txt && \
1313
apt-get -yq clean all
1414

packet/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import os
66

77
import csh_ldap
8-
import flask_saml
98
from flask import Flask
109
from flask_migrate import Migrate
1110
from flask_pyoidc.flask_pyoidc import OIDCAuthentication
@@ -32,8 +31,6 @@
3231
# LDAP
3332
_ldap = csh_ldap.CSHLDAP(app.config['LDAP_BIND_DN'], app.config['LDAP_BIND_PASS'])
3433

35-
flask_saml.FlaskSAML(app)
36-
3734
# pylint: disable=wrong-import-position
3835
if app.config["REALM"] == "csh":
3936
from .routes import upperclassmen

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ flask_sqlalchemy==2.3.2
44
psycopg2-binary==2.7.5
55
Flask-Migrate==2.2.1
66
pylint==2.1.1
7-
flask_saml==0.4.3
87
gunicorn==19.7.1
98
csh_ldap>=2.1.0

0 commit comments

Comments
 (0)