projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement authenticator class used for logging in users
[quassel.git]
/
src
/
client
/
clientauthhandler.cpp
diff --git
a/src/client/clientauthhandler.cpp
b/src/client/clientauthhandler.cpp
index
c8ed735
..
fc6156d
100644
(file)
--- a/
src/client/clientauthhandler.cpp
+++ b/
src/client/clientauthhandler.cpp
@@
-303,6
+303,7
@@
void ClientAuthHandler::handle(const ClientRegistered &msg)
{
_coreConfigured = msg.coreConfigured;
_backendInfo = msg.backendInfo;
{
_coreConfigured = msg.coreConfigured;
_backendInfo = msg.backendInfo;
+ _authBackendInfo = msg.authBackendInfo;
Client::setCoreFeatures(static_cast<Quassel::Features>(msg.coreFeatures));
Client::setCoreFeatures(static_cast<Quassel::Features>(msg.coreFeatures));
@@
-321,7
+322,7
@@
void ClientAuthHandler::onConnectionReady()
if (!_coreConfigured) {
// start wizard
if (!_coreConfigured) {
// start wizard
- emit startCoreSetup(_backendInfo);
+ emit startCoreSetup(_backendInfo
, _authBackendInfo
);
}
else // TODO: check if we need LoginEnabled
login();
}
else // TODO: check if we need LoginEnabled
login();