Merge pull request #2 from Krakinou/flaskldap

Solve typo
pull/769/head
Krakinou 6 years ago committed by GitHub
commit 4437d7376d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -770,7 +770,7 @@ def migrate_Database():
session.query(exists().where(Settings.config_ldap_use_tls)).scalar()
except exc.OperationalError:
conn = engine.connect()
conn.execute("ALTER TABLE Settings ADD column `cconfig_ldap_use_tls` INTEGER DEFAULT 0")
conn.execute("ALTER TABLE Settings ADD column `config_ldap_use_tls` INTEGER DEFAULT 0")
session.commit()
try:
session.query(exists().where(Settings.config_ldap_require_cert)).scalar()

Loading…
Cancel
Save