Skip to content
Snippets Groups Projects
Commit 12a83eb8 authored by Tom Käsler's avatar Tom Käsler
Browse files

Merge branch 'fix-password-reset-api-endpoint' into 'master'

Add slash for password reset endpoint

Closes #209

See merge request arsnova/arsnova-lite!178
parents 7dd3f261 c3378389
No related merge requests found
......@@ -67,7 +67,12 @@ export class AuthenticationService {
}
resetPassword(email: string): Observable<boolean> {
const connectionUrl: string = this.apiUrl.v2 + this.apiUrl.user + email + this.apiUrl.resetPassword;
const connectionUrl: string =
this.apiUrl.v2 +
this.apiUrl.user +
'/' +
email +
this.apiUrl.resetPassword;
return this.http.post(connectionUrl, {
key: null,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment