Spaces:
Sleeping
Sleeping
Update users_management.py
Browse files- users_management.py +1 -0
users_management.py
CHANGED
@@ -2,6 +2,7 @@ import json
|
|
2 |
import os
|
3 |
from hashlib import sha256
|
4 |
|
|
|
5 |
|
6 |
def save_user_data_to_json(username, file_path='users.json'):
|
7 |
user = users[username]
|
|
|
2 |
import os
|
3 |
from hashlib import sha256
|
4 |
|
5 |
+
users = load_from_json()
|
6 |
|
7 |
def save_user_data_to_json(username, file_path='users.json'):
|
8 |
user = users[username]
|