Fixed user confirmation :/ #70
This commit is contained in:
@@ -80,7 +80,7 @@ export class AuthService {
|
||||
}
|
||||
|
||||
confirmEMail(id: string): Observable<boolean> {
|
||||
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register/${id}`, {
|
||||
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register-by-id/${id}`, {
|
||||
headers: new HttpHeaders({
|
||||
'Content-Type': 'application/json'
|
||||
})
|
||||
|
Reference in New Issue
Block a user