Dynamically enable modules based on config values
This commit is contained in:
parent
4063754e12
commit
04b5e04593
3 changed files with 75 additions and 68 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue