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