Add config option to disable tls validation
This commit is contained in:
parent
973ec13ad8
commit
47e97d490c
7 changed files with 42 additions and 4 deletions
|
|
@ -404,6 +404,8 @@ RegisterPage::onRegisterButtonClicked()
|
|||
auto server = server_input_->text().toStdString();
|
||||
|
||||
http::client()->set_server(server);
|
||||
http::client()->verify_certificates(
|
||||
!UserSettings::instance()->disableCertificateValidation());
|
||||
http::client()->registration(
|
||||
username,
|
||||
password,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue