Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/authenticator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,8 @@ def _generate(self, id_pattern='*', refresh=5, bare=False):
print("", file=self.__stdout)
first_time = False
soonest_expiration = self._generate_once(cds_to_calc, bare=bare)
if bare:
return
if soonest_expiration is None:
# we only calculate counter-based HOTPs once
keep_going = False
Expand Down