Skip to content

Commit

Permalink
missed to change one import for issue thomasDOTwtf#19
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasDOTwtf committed Mar 28, 2018
1 parent f014798 commit 88c6d6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
from .models import User, Domain, Record, Server, History, Anonymous, Setting, DomainSetting
from app import app, login_manager, github, google
from lib import utils

from onelogin.saml2.auth import OneLogin_Saml2_Auth
from onelogin.saml2.utils import OneLogin_Saml2_Utils
if app.config['SAML_ENABLED']:
from onelogin.saml2.auth import OneLogin_Saml2_Auth
from onelogin.saml2.utils import OneLogin_Saml2_Utils

jinja2.filters.FILTERS['display_record_name'] = utils.display_record_name
jinja2.filters.FILTERS['display_master_name'] = utils.display_master_name
Expand Down

0 comments on commit 88c6d6e

Please sign in to comment.