Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -87,6 +87,7 @@ if encryption_algorithm is None:
|
|
| 87 |
|
| 88 |
|
| 89 |
def encode_data(user: User):
|
|
|
|
| 90 |
print(jwt.get_algorithm_by_name(encryption_algorithm))
|
| 91 |
payload = {
|
| 92 |
"username": user.username,
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
def encode_data(user: User):
|
| 90 |
+
print(f"{encryption_key} and {encryption_algorithm}")
|
| 91 |
print(jwt.get_algorithm_by_name(encryption_algorithm))
|
| 92 |
payload = {
|
| 93 |
"username": user.username,
|