Dynamically enable modules based on config values

This commit is contained in:
Matthew Scragg 2015-11-22 17:12:26 -06:00
parent 4063754e12
commit 04b5e04593
3 changed files with 75 additions and 68 deletions

View file

@ -38,8 +38,7 @@ class User(BaseUser):
@staticmethod
def login_form():
form = LDAPLoginForm()
return render_template('auth/ldap/login.html', form=form)
return render_template('auth/ldap/login.html', form=LDAPLoginForm())
@staticmethod
def auth(user, password):