mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	autofill password field
This commit is contained in:
		| @@ -114,6 +114,7 @@ void SAMLLoginWindow::onLoadFinished() | ||||
|      webView->page()->toHtml([this] (const QString &html) { this->handleHtml(html); }); | ||||
|      QMap<QString, QString> credentials = this->loadCredentials(); | ||||
|      webView->page()->runJavaScript("document.getElementById('username').value='" + credentials["username"] + "';"); | ||||
|      webView->page()->runJavaScript("document.getElementById('password').value='" + credentials["password"] + "';"); | ||||
| } | ||||
|  | ||||
| void SAMLLoginWindow::handleHtml(const QString &html) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user