mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Return true if authed immediately by module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@695 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -241,7 +241,12 @@ bool CWebAdminSock::OnLogin(const CString& sUser, const CString& sPass) {
|
||||
m_spAuth = new CWebAdminAuth(this, sUser, sPass);
|
||||
|
||||
if (CZNC::Get().GetModules().OnLoginAttempt(m_spAuth)) {
|
||||
if (IsLoggedIn()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
PauseRead();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user