mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
remove old auth endpoints from apiservice
This commit is contained in:
@@ -52,11 +52,6 @@
|
|||||||
putDomains: { url: _apiUri + '/settings/domains', method: 'POST', params: {} },
|
putDomains: { url: _apiUri + '/settings/domains', method: 'POST', params: {} },
|
||||||
});
|
});
|
||||||
|
|
||||||
_service.auth = $resource(_apiUri + '/auth', {}, {
|
|
||||||
token: { url: _apiUri + '/auth/token', method: 'POST', params: {} },
|
|
||||||
tokenTwoFactor: { url: _apiUri + '/auth/token/two-factor', method: 'POST', params: {} }
|
|
||||||
});
|
|
||||||
|
|
||||||
_service.identity = $resource(_apiUri + '/connect', {}, {
|
_service.identity = $resource(_apiUri + '/connect', {}, {
|
||||||
token: {
|
token: {
|
||||||
url: _apiUri + '/connect/token',
|
url: _apiUri + '/connect/token',
|
||||||
|
|||||||
Reference in New Issue
Block a user