style: format HTML and TypeScript files for consistency
All checks were successful
CI / Get Changed Files (pull_request) Successful in 10s
CI / oxlint (pull_request) Successful in 26s
CI / Docker frontend validation (pull_request) Successful in 29s
CI / eslint (pull_request) Successful in 38s
CI / prettier (pull_request) Successful in 41s
CI / test-build (pull_request) Successful in 1m6s
CI / Checkstyle Main (pull_request) Successful in 1m29s
CI / Docker backend validation (pull_request) Successful in 1m27s

This commit is contained in:
csimonis 2025-05-15 12:34:28 +02:00 committed by Phan Huy Tran
commit d049048206
4 changed files with 51 additions and 37 deletions

View file

@ -77,11 +77,11 @@ export class AuthService {
public verifyEmail(token: string): Observable<unknown> {
return this.http.post<unknown>(`${this.authUrl}/verify?token=${token}`, null);
}
public recoverPassword(email: string): Observable<unknown> {
return this.http.post<unknown>(`${this.authUrl}/recover-password?email=${email}`, null);
}
public resetPassword(token: string, password: string): Observable<unknown> {
return this.http.post<unknown>(`${this.authUrl}/reset-password`, { token, password });
}