X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientauthhandler.cpp;h=4a99890de6f8090f596ab65e8fa792b35f0a6d3a;hp=fc793097b9f08f2df82ed5009213a0a8e5e08166;hb=258d157a228d2b2b46b01d3b33ab932b9979436a;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/client/clientauthhandler.cpp b/src/client/clientauthhandler.cpp index fc793097..4a99890d 100644 --- a/src/client/clientauthhandler.cpp +++ b/src/client/clientauthhandler.cpp @@ -288,7 +288,7 @@ void ClientAuthHandler::startRegistration() useSsl = _account.useSsl(); #endif - _peer->dispatch(RegisterClient(Quassel::buildInfo().fancyVersionString, Quassel::buildInfo().buildDate, useSsl)); + _peer->dispatch(RegisterClient(Quassel::buildInfo().fancyVersionString, Quassel::buildInfo().commitDate, useSsl)); } @@ -303,6 +303,7 @@ void ClientAuthHandler::handle(const ClientRegistered &msg) { _coreConfigured = msg.coreConfigured; _backendInfo = msg.backendInfo; + _authenticatorInfo = msg.authenticatorInfo; Client::setCoreFeatures(static_cast(msg.coreFeatures)); @@ -321,7 +322,7 @@ void ClientAuthHandler::onConnectionReady() if (!_coreConfigured) { // start wizard - emit startCoreSetup(_backendInfo); + emit startCoreSetup(_backendInfo, _authenticatorInfo); } else // TODO: check if we need LoginEnabled login(); @@ -487,7 +488,7 @@ void ClientAuthHandler::onSslErrors() default: qWarning() << "Certificate digest version" << QString(knownDigestVersion) << "is not supported"; } - + if (knownDigest != calculatedDigest) { bool accepted = false; bool permanently = false;