nixos/security: make duo support secure failure correctly

seems that this got broken when the config option was made to use enums. "secure" got replaced with "enum", which isn't a valid option for the failure mode.
This commit is contained in:
Alex Guzman 2019-03-17 18:25:20 -07:00 committed by GitHub
parent d4559c372d
commit 0c34b9fcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ in
};
failmode = mkOption {
type = types.enum [ "safe" "enum" ];
type = types.enum [ "safe" "secure" ];
default = "safe";
description = ''
On service or configuration errors that prevent Duo