Skip to content

Commit

Permalink
Do not export group password
Browse files Browse the repository at this point in the history
As it is no longer supported by YaST, it makes no sense to pollute the
profile with <group_passsord> and <encrypted> tags in group sections.
  • Loading branch information
dgdavid committed Nov 8, 2021
1 parent 4a96775 commit d463267
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/modules/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6149,15 +6149,6 @@ sub ExportGroup {
{
$ret{"gid"} = $group->{"gidNumber"};
}
if (defined $group->{"userPassword"}) {

my $encrypted = bool ($group->{"encrypted"});
if (!defined $group->{"encrypted"}) {
$encrypted = 1;
}
$ret{"encrypted"} = YaST::YCP::Boolean ($encrypted);
$ret{"group_password"} = $group->{"userPassword"};
}

return \%ret;
}
Expand Down

0 comments on commit d463267

Please sign in to comment.