Added LDAP authentication support. Fixes #2186

This commit is contained in:
Khushboo Vashi
2020-04-06 15:57:05 +05:30
committed by Akshay Joshi
parent 8ceeb39268
commit f77aa3284f
26 changed files with 1243 additions and 165 deletions

View File

@@ -109,7 +109,7 @@ class TestClient(testing.FlaskClient):
csrf_token = self.generate_csrf_token()
res = self.post(
'/login', data=dict(
'/authenticate/login', data=dict(
email=email, password=password,
csrf_token=csrf_token,
),
@@ -120,5 +120,5 @@ class TestClient(testing.FlaskClient):
return res
def logout(self):
res = self.get('/logout', follow_redirects=False)
res = self.get('/logout?next=/browser/', follow_redirects=False)
self.csrf_token = None