1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-26 21:23:34 +00:00

move logins to ciphers apis

This commit is contained in:
Kyle Spearrin
2017-09-20 16:45:13 -04:00
parent 06a877c755
commit f7fbdf2081
12 changed files with 24 additions and 31 deletions

View File

@@ -16,7 +16,7 @@
$scope.save = function (model) {
model.organizationId = orgId;
var login = cipherService.encryptLogin(model);
$scope.savePromise = apiService.logins.postAdmin(login, function (loginResponse) {
$scope.savePromise = apiService.ciphers.postAdmin(login, function (loginResponse) {
$analytics.eventTrack('Created Organization Login');
var decLogin = cipherService.decryptLogin(loginResponse);
$uibModalInstance.close(decLogin);