mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
1cb6173ad1
commit
0c48b70e5b
@@ -46,11 +46,13 @@ AuthController::AuthController(ISessionManager *sessionManager, IApplication *ap
|
||||
void AuthController::setUsername(const QString &username)
|
||||
{
|
||||
m_username = username;
|
||||
setResult(QString());
|
||||
}
|
||||
|
||||
void AuthController::setPasswordHash(const QByteArray &passwordHash)
|
||||
{
|
||||
m_passwordHash = passwordHash;
|
||||
setResult(QString());
|
||||
}
|
||||
|
||||
void AuthController::loginAction()
|
||||
@@ -96,9 +98,10 @@ void AuthController::loginAction()
|
||||
}
|
||||
}
|
||||
|
||||
void AuthController::logoutAction() const
|
||||
void AuthController::logoutAction()
|
||||
{
|
||||
m_sessionManager->sessionEnd();
|
||||
setResult(QString());
|
||||
}
|
||||
|
||||
bool AuthController::isBanned() const
|
||||
|
||||
Reference in New Issue
Block a user