From e903758a352e51c9538f1035cb0d51f05353ff61 Mon Sep 17 00:00:00 2001 From: alexis Date: Sun, 11 Jan 2026 22:15:56 +0800 Subject: [PATCH] fix: revert signup existing user check from .has_usable_password to .password --- apps/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/auth/views.py b/apps/auth/views.py index 68be287..df1672d 100644 --- a/apps/auth/views.py +++ b/apps/auth/views.py @@ -404,7 +404,7 @@ def auth_signup_api(request) -> Response: return error_response or Response( {"error": "Failed to create user session"}, status=500 ) - if user.has_usable_password(): + if user.password: return Response({"error": "User already exists with password."}, status=409) user.is_active = True