We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84312aa commit 51d9a55Copy full SHA for 51d9a55
1 file changed
src/api.ts
@@ -70,9 +70,9 @@ class API {
70
const response = await this.fetch(`${this.serverUrl}/auth/ldap`, {
71
method: 'post',
72
body: encodeFormComponent({username, password}),
73
- headers: {
+ headers: await this.wrapHeaders({
74
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
75
- }
+ })
76
})
77
return response.status === 200
78
}
0 commit comments