Merge pull request #205 from Tzahi12345/add-ldap-auth

Added ability to register/login through LDAP
This commit is contained in:
Tzahi12345
2020-08-26 04:30:43 -04:00
committed by GitHub
9 changed files with 396 additions and 57 deletions

View File

@@ -384,7 +384,7 @@ export class PostsService implements CanActivate {
// user methods
login(username, password) {
const call = this.http.post(this.path + 'auth/login', {userid: username, password: password}, this.httpOptions);
const call = this.http.post(this.path + 'auth/login', {username: username, password: password}, this.httpOptions);
return call;
}