]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/ldapauth/__init__.py
OSQA-425, adding LDAP Based Authentication OSQA module to the core
[osqa.git] / forum_modules / ldapauth / __init__.py
diff --git a/forum_modules/ldapauth/__init__.py b/forum_modules/ldapauth/__init__.py
new file mode 100644 (file)
index 0000000..e6591f0
--- /dev/null
@@ -0,0 +1,5 @@
+try:
+    import ldap
+    CAN_USE = True
+except:
+    CAN_USE = False