mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
move logins to ciphers apis
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
$scope.savePromise = null;
|
||||
$scope.save = function (model) {
|
||||
var login = cipherService.encryptLogin(model);
|
||||
$scope.savePromise = apiService.logins.post(login, function (loginResponse) {
|
||||
$scope.savePromise = apiService.ciphers.post(login, function (loginResponse) {
|
||||
$analytics.eventTrack('Created Login');
|
||||
var decLogin = cipherService.decryptLogin(loginResponse);
|
||||
$uibModalInstance.close(decLogin);
|
||||
|
||||
Reference in New Issue
Block a user