diff --git a/modules/user.py b/modules/user.py
index 9f9621882cdfb0816057f7c236b390043b164df9..57f342c63da1a22c8af8d23b8503a351ca0e815b 100644
--- a/modules/user.py
+++ b/modules/user.py
@@ -162,7 +162,7 @@ def change_password(user):
             })
         else:
             return jsonify({
-                "status": 500,
+                "status": 401,
                 "message": "Password do not match"
             })
     except Exception as e: