| 1148 | } |
| 1149 | |
| 1150 | void Engine::continueWithPasswordImpl(const QString &password, bool bSave) |
| 1151 | { |
| 1152 | // if password is empty, then disconnect |
| 1153 | if (password.isEmpty()) { |
| 1154 | connectionManager_->clickDisconnect(); |
| 1155 | } else { |
| 1156 | if (bSave) { |
| 1157 | customOvpnAuthCredentialsStorage_->setAuthCredentials(connectionManager_->getCustomOvpnConfigFileName(), "", password); |
| 1158 | } |
| 1159 | connectionManager_->continueWithPassword(password, isNeedReconnectAfterRequestAuth_); |
| 1160 | } |
| 1161 | } |
| 1162 | |
| 1163 | void Engine::continueWithPrivKeyPasswordImpl(const QString &password, bool bSave) |
| 1164 | { |
nothing calls this directly
no test coverage detected