Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
When disabling a yubikey, we should be able to set the prefix to nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
pypingou committed Jul 26, 2013
1 parent b65ddef commit f7d02d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fas-plugin-yubikey/fas_yubikey/__init__.py
Expand Up @@ -98,7 +98,7 @@ def __init__(self, active, created, modified, yk_publicname, yk_counter, yk_use,
class YubikeySave(validators.Schema):
targetname = KnownUser
yubikey_enabled = validators.OneOf(['0', '1'], not_empty=True)
yubikey_prefix = validators.String(min=12, max=12, not_empty=True)
yubikey_prefix = validators.String(min=12, max=12, not_empty=False)

def get_configs(configs_list):
configs = {}
Expand Down

0 comments on commit f7d02d6

Please sign in to comment.