From 10a820758180905c63d2b88082197d96ddd423e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 27 Jan 2024 18:41:40 +0100 Subject: [PATCH] Include database name in reset password request from tryton --- tryton/tryton/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/tryton/rpc.py b/tryton/tryton/rpc.py index e3d42b272e..a8b16dbe2c 100644 --- a/tryton/tryton/rpc.py +++ b/tryton/tryton/rpc.py @@ -156,7 +156,7 @@ def reset_password(): if not all([host, database, username]): return try: - connection = ServerProxy(hostname, port) + connection = ServerProxy(hostname, port, database) logger.info('common.db.reset_password(%s, %s)', (username, language)) connection.common.db.reset_password(username, language) except Fault as exception: