Skip to content

Commit

Permalink
Fix cancel on HTTP Auth popup not working
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 6, 2016
1 parent d7d0155 commit 749a9c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vise/auth.py
Expand Up @@ -54,6 +54,10 @@ def get_http_auth_credentials(qurl, authenticator, parent=None):
username, password = d.credentials
authenticator.setUser(username)
authenticator.setPassword(password)
else:
if parent is not None:
parent.setHtml('<p style="font-family:sans-serif">{} {}</p>'.format(
_('Authentication required to access: '), '<a href="{0}">{0}</a>'.format(qurl.toDisplayString())))


def get_proxy_auth_credentials(qurl, authenticator, proxy_host, parent=None):
Expand Down

0 comments on commit 749a9c6

Please sign in to comment.