ma airdcpp.mod: remove newlines from passwords
This commit is contained in:
parent
7afd90f745
commit
b1c9bcf85c
@ -55,6 +55,7 @@ let
|
|||||||
'';
|
'';
|
||||||
type = str;
|
type = str;
|
||||||
default = "";
|
default = "";
|
||||||
|
apply = lib.removeSuffix "\n";
|
||||||
};
|
};
|
||||||
Server = mkOption {
|
Server = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
@ -162,6 +163,7 @@ let
|
|||||||
password = mkOption {
|
password = mkOption {
|
||||||
description = "password of user";
|
description = "password of user";
|
||||||
type = str;
|
type = str;
|
||||||
|
apply = lib.removeSuffix "\n";
|
||||||
};
|
};
|
||||||
permissions = mkOption {
|
permissions = mkOption {
|
||||||
description = "user permissions";
|
description = "user permissions";
|
||||||
|
Loading…
Reference in New Issue
Block a user