mirror of
https://github.com/bitwarden/browser
synced 2025-01-06 15:38:42 +01:00
[SM-245] Change register and prelogin to always use api (#3553)
This commit is contained in:
parent
d7c003808f
commit
dcc0a556a2
@ -311,9 +311,7 @@ export class ApiService implements ApiServiceAbstraction {
|
|||||||
request,
|
request,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
this.platformUtilsService.isDev()
|
this.environmentService.getIdentityUrl()
|
||||||
? this.environmentService.getIdentityUrl()
|
|
||||||
: this.environmentService.getApiUrl()
|
|
||||||
);
|
);
|
||||||
return new PreloginResponse(r);
|
return new PreloginResponse(r);
|
||||||
}
|
}
|
||||||
@ -358,9 +356,7 @@ export class ApiService implements ApiServiceAbstraction {
|
|||||||
request,
|
request,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
this.platformUtilsService.isDev()
|
this.environmentService.getIdentityUrl()
|
||||||
? this.environmentService.getIdentityUrl()
|
|
||||||
: this.environmentService.getApiUrl()
|
|
||||||
);
|
);
|
||||||
return new RegisterResponse(r);
|
return new RegisterResponse(r);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user