Skip to content

Commit d3f3b3e

Browse files
committed
Cosmetic: Fixed some minor typos.
1 parent 19b24c6 commit d3f3b3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interface/web/login/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
require_once '../../lib/config.inc.php';
3232
require_once '../../lib/app.inc.php';
3333

34-
// Check if we have an active users ession and no login_as.
34+
// Check if we have an active users session and no login_as.
3535
if($_SESSION['s']['user']['active'] == 1 && @$_POST['login_as'] != 1) {
3636
header('Location: /index.php');
3737
die();
@@ -139,7 +139,7 @@
139139
$sql = "SELECT * FROM `attempts_login` WHERE `ip`= ? AND `login_time` > (NOW() - INTERVAL 1 MINUTE) LIMIT 1";
140140
$alreadyfailed = $app->db->queryOneRecord($sql, $ip);
141141

142-
//* too many failedlogins
142+
//* too many failed logins
143143
if($alreadyfailed['times'] > 5) {
144144
$error = $app->lng('error_user_too_many_logins');
145145
} else {
@@ -264,7 +264,7 @@
264264

265265
$app->plugin->raiseEvent('login', $username);
266266

267-
//* Save successfull login message to var
267+
//* Save successful login message to var
268268
$authlog = 'Successful login for user \''. $username .'\' from '. $_SERVER['REMOTE_ADDR'] .' at '. date('Y-m-d H:i:s') . ' with session ID ' .session_id();
269269
$authlog_handle = fopen($conf['ispconfig_log_dir'].'/auth.log', 'a');
270270
fwrite($authlog_handle, $authlog ."\n");
@@ -316,7 +316,7 @@
316316
}
317317
}
318318

319-
// Maintenance mode - show message when people try to log in and also when people are forcedly logged off
319+
// Maintenance mode - show message when people try to log in and also when people are forcibly logged off
320320
if($maintenance_mode_error != '') $error = '<strong>'.$maintenance_mode_error.'</strong><br><br>'.$error;
321321
if($error != ''){
322322
$error = '<div class="box box_error">'.$error.'</div>';

0 commit comments

Comments
 (0)