Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

HttpAuthenticationDialog is accepted via a function #522

Open
wants to merge 1 commit into
base: xenial
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/WebViewImpl.qml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ WebView {
var authDialog = PopupUtils.open(Qt.resolvedUrl("HttpAuthenticationDialog.qml"), this);
authDialog.host = UrlUtils.extractHost(request.url);
authDialog.realm = request.realm;
authDialog.accept.connect(request.dialogAccept);
// for webapps the page did not load after entering the credentials when we directly connect to request.dialogAccept
authDialog.accept.connect(function(username, password) {request.dialogAccept(username, password);});
authDialog.reject.connect(request.dialogReject);

break;
Expand Down