diff --git a/backend/app.py b/backend/app.py index a3ff3ca..9dd08ce 100644 --- a/backend/app.py +++ b/backend/app.py @@ -1840,7 +1840,7 @@ def admin(): # 최근 가입 사용자 (20명) cursor.execute(""" - SELECT id, nickname, phone, mileage_balance, created_at + SELECT id, nickname, phone, mileage_balance, created_at, updated_at FROM users ORDER BY created_at DESC LIMIT 20 @@ -1852,6 +1852,7 @@ def admin(): for user in recent_users_raw: user_dict = dict(user) user_dict['created_at'] = utc_to_kst_str(user['created_at']) + user_dict['updated_at'] = utc_to_kst_str(user['updated_at']) if user['updated_at'] else None recent_users.append(user_dict) # 최근 적립 내역 (50건) diff --git a/backend/templates/admin.html b/backend/templates/admin.html index 715dbc2..2673009 100644 --- a/backend/templates/admin.html +++ b/backend/templates/admin.html @@ -472,23 +472,24 @@