summaryrefslogtreecommitdiff
path: root/lib/App
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/Raps2.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/App/Raps2.pm b/lib/App/Raps2.pm
index 878ba9d..d515548 100644
--- a/lib/App/Raps2.pm
+++ b/lib/App/Raps2.pm
@@ -141,8 +141,10 @@ sub ui {
sub pw_save {
my ( $self, %data ) = @_;
- $data{file} //= $self->{xdg_data} . "/$data{name}";
- $data{salt} //= $self->pw->create_salt();
+ $data{file} //= $self->{xdg_data} . "/$data{name}";
+ $data{login} //= q{};
+ $data{salt} //= $self->pw->create_salt();
+ $data{url} //= q{};
my $pass_hash = $self->pw->encrypt( $data{password}, $data{salt} );
my $extra_hash = (