1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

remove requirement for password on sites

This commit is contained in:
Kyle Spearrin 2016-10-13 18:46:57 -04:00
parent cd71dbd7e2
commit 4e754e7db3
2 changed files with 0 additions and 8 deletions

View File

@ -35,10 +35,6 @@
toastr.error('Name is required.', 'Errors have occurred');
return;
}
if (!model.password) {
toastr.error('Password is required.', 'Errors have occurred');
return;
}
$scope.savePromise = $q.when(siteService.encrypt(model)).then(function (siteModel) {
var site = new Site(siteModel, true);

View File

@ -35,10 +35,6 @@ angular
toastr.error('Name is required.', 'Errors have occurred');
return;
}
if (!model.password) {
toastr.error('Password is required.', 'Errors have occurred');
return;
}
$scope.savePromise = $q.when(siteService.encrypt(model)).then(function (siteModel) {
var site = new Site(siteModel, true);