Don't use Session after finishSession call
This commit is contained in:
parent
0f888d07d9
commit
097d52c8f0
2 changed files with 0 additions and 2 deletions
|
@ -75,7 +75,6 @@ void ServerFromClientSession::handlePasswordInvalid(const std::string &user) {
|
|||
userRegistry_->onPasswordInvalid.disconnect(boost::bind(&ServerFromClientSession::handlePasswordInvalid, this, _1));
|
||||
getXMPPLayer()->writeElement(boost::shared_ptr<AuthFailure>(new AuthFailure));
|
||||
finishSession(AuthenticationFailedError);
|
||||
onPasswordInvalid();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ namespace Swift {
|
|||
~ServerFromClientSession();
|
||||
|
||||
boost::signal<void ()> onSessionStarted;
|
||||
boost::signal<void ()> onPasswordInvalid;
|
||||
void setAllowSASLEXTERNAL();
|
||||
const std::string &getUser() {
|
||||
return user_;
|
||||
|
|
Loading…
Add table
Reference in a new issue