1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

remove old auth endpoints from apiservice

This commit is contained in:
Kyle Spearrin 2017-01-29 21:39:38 -05:00
parent df21f89fcb
commit 7bdda34f14

View File

@ -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',