Skip to content

Commit

Permalink
🐛 Fix saving in create_user_token script
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn authored and rroohhh committed Dec 28, 2023
1 parent 5d1e219 commit 440dbad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/scripts/create_user_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@

key, user_token = generate_user_token(user, valid_until=valid_until)
session.add(user_token)
session.commit()

print(f"User token created and valid until {valid_until}")
print(f"Secret: {key}")

0 comments on commit 440dbad

Please sign in to comment.