changed: we do not make a 'base redirect' when the request method is POST
changed: ConfParser -- now we have spaces (only one level) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@767 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -103,6 +103,9 @@ void Login::MakePost()
|
||||
return;
|
||||
}
|
||||
|
||||
if( cur->session->puser )
|
||||
system->users.LogoutCurrentUser();
|
||||
|
||||
const std::wstring & login = cur->request->PostVar(L"login");
|
||||
const std::wstring & pass = cur->request->PostVar(L"password");
|
||||
const std::wstring & remem = cur->request->PostVar(L"rememberme");
|
||||
@@ -114,7 +117,7 @@ void Login::MakePost()
|
||||
}
|
||||
else
|
||||
{
|
||||
// !! moze zglosic komunikat o nie poprawnym logowaniu
|
||||
log << log2 << "Login: incorrect login/password" << logend;
|
||||
}
|
||||
|
||||
system->RedirectToLastItem();
|
||||
|
@@ -29,7 +29,6 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
void LoginUser(long user_id, bool remember_me);
|
||||
void ClearTmpStruct();
|
||||
bool CheckPasswords(const std::wstring & password);
|
||||
|
||||
|
Reference in New Issue
Block a user