stages/email: fix token being created without identifier

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-03 14:54:07 +02:00
parent 48e68d6852
commit 46ab1d20df
2 changed files with 18 additions and 4 deletions

View File

@ -44,6 +44,7 @@ class Command(BaseCommand):
user=user,
intent=TokenIntents.INTENT_RECOVERY,
description=f"Recovery Token generated by {getuser()} on {_now}",
identifier=f"ak-recovery-{user}",
)
self.stdout.write(
(