Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
27b37bb2 by Cédric Krier at 2023-01-26T18:36:13+01:00
Use the hostname instead of host to retrieve authentication services
The host may contain the port number which is not a valid host for the
ServerProxy.
- - - - -
1 changed file:
- tryton/tryton/gui/window/dblogin.py
Changes:
=====================================
tryton/tryton/gui/window/dblogin.py
=====================================
@@ -588,7 +588,7 @@
self.services = self._services[key]
elif hostname and port:
self.service_base, self.services = rpc.authentication_services(
- host, port)
+ hostname, port)
self._services[key] = self.services
for response_id, (name, url) in enumerate(self.services, 1):
button = Gtk.Button(label=name)
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/27b37bb254d36a8de24d47c8c0d693aa025a8136
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/27b37bb254d36a8de24d47c8c0d693aa025a8136
You're receiving this email because of your account on foss.heptapod.net.