URL angepasst
This commit is contained in:
@@ -39,7 +39,7 @@ export class RegisterComponent {
|
||||
const params = (this.route.snapshot.queryParamMap as any)["params"];
|
||||
this.redirectUri = params.redirect_uri;
|
||||
this.client_id = params.client_id;
|
||||
this.http.get<any>('api/auth/', {
|
||||
this.http.get<any>('', {
|
||||
params
|
||||
}).subscribe({
|
||||
next: (client) => {
|
||||
@@ -57,7 +57,7 @@ export class RegisterComponent {
|
||||
this.toast.error('Passwords do not match');
|
||||
return;
|
||||
}
|
||||
this.http.post('api/auth/register?'+ 'client_id=' + this.client_id, this.registerForm.value).pipe(
|
||||
this.http.post('api/register?'+ 'client_id=' + this.client_id, this.registerForm.value).pipe(
|
||||
this.toast.observe({
|
||||
loading: 'Registering...',
|
||||
success: 'Registration successfull, please log in',
|
||||
|
||||
Reference in New Issue
Block a user