Implement selection between global config and user settings for duo keys.

This commit is contained in:
Daniel García
2019-04-11 18:40:03 +02:00
parent cad63f9761
commit 8d9827c55f
4 changed files with 179 additions and 48 deletions

View File

@@ -305,10 +305,10 @@ make_config! {
yubico_server: String, true, option;
},
/// Duo settings
/// Global Duo settings (Note that users can override them)
duo: _enable_duo {
/// Enabled
_enable_duo: bool, true, def, true;
_enable_duo: bool, true, def, false;
/// Integration Key
duo_ikey: String, true, option;
/// Secret Key