clanService/personal-computer: force change-own-password to YES
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
security.polkit.extraConfig = ''
|
security.polkit.extraConfig = ''
|
||||||
polkit.addRule(function(action, subject) {
|
polkit.addRule(function(action, subject) {
|
||||||
if ((action.id == "org.freedesktop.accounts.change-own-password")) {
|
if ((action.id == "org.freedesktop.accounts.change-own-password")) {
|
||||||
return polkit.Result.AUTH_SELF;
|
return polkit.Result.YES;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user