24 EricNetworkProxyFactory, |
24 EricNetworkProxyFactory, |
25 proxyAuthenticationRequired, |
25 proxyAuthenticationRequired, |
26 ) |
26 ) |
27 from eric7.EricWidgets import EricMessageBox |
27 from eric7.EricWidgets import EricMessageBox |
28 from eric7.EricWidgets.EricApplication import ericApp |
28 from eric7.EricWidgets.EricApplication import ericApp |
29 from eric7.UI.AuthenticationDialog import AuthenticationDialog |
29 from eric7.EricWidgets.EricAuthenticationDialog import EricAuthenticationDialog |
30 from eric7.Utilities.AutoSaver import AutoSaver |
30 from eric7.Utilities.AutoSaver import AutoSaver |
31 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
31 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
32 |
32 |
33 try: |
33 try: |
34 from eric7.EricNetwork.EricSslErrorHandler import EricSslErrorHandler |
34 from eric7.EricNetwork.EricSslErrorHandler import EricSslErrorHandler |
300 ) |
300 ) |
301 if realm |
301 if realm |
302 else self.tr("<b>Enter username and password for '{0}'</b>").format(urlRoot) |
302 else self.tr("<b>Enter username and password for '{0}'</b>").format(urlRoot) |
303 ) |
303 ) |
304 |
304 |
305 dlg = AuthenticationDialog( |
305 dlg = EricAuthenticationDialog( |
306 info, |
306 info, |
307 auth.user(), |
307 auth.user(), |
308 Preferences.getUser("SavePasswords"), |
308 Preferences.getUser("SavePasswords"), |
309 Preferences.getUser("SavePasswords"), |
309 Preferences.getUser("SavePasswords"), |
310 ) |
310 ) |