mirror of
https://github.com/bitwarden/browser
synced 2024-12-24 17:11:55 +01:00
remove requirement for password on sites
This commit is contained in:
parent
cd71dbd7e2
commit
4e754e7db3
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user