1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00

General Core Improvments

This commit is contained in:
Awilum
2012-11-06 17:19:30 +02:00
parent ead5e92524
commit 159582fe0e
11 changed files with 476 additions and 89 deletions

View File

@@ -35,9 +35,6 @@
// Admin login
if (Request::post('login_submit')) {
// Sleep MONSTRA_LOGIN_SLEEP seconds for blocking Brute Force Attacks
sleep(MONSTRA_LOGIN_SLEEP);
$user = $users->select("[login='" . trim(Request::post('login')) . "']", null);
if (count($user) !== 0) {
if ($user['login'] == Request::post('login')) {