From 3c855d521b038ec151617f950a3bcd6860c04a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E7=8B=97?= Date: Wed, 22 Jul 2026 10:57:25 +0800 Subject: [PATCH] fix(auth): import get_password_hash in main.py --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index aa09dd6..cc4c200 100644 --- a/backend/main.py +++ b/backend/main.py @@ -9,7 +9,7 @@ from pathlib import Path from typing import Optional, List import json -from database import get_db, create_access_token, verify_password, init_db, Base, engine +from database import get_db, create_access_token, verify_password, get_password_hash, init_db, Base, engine from models import User, AttendanceRecord, Shift, Accident, Holiday, LeaveRecord from sqlalchemy import func as sqlfunc from schemas import *