diff --git a/lib/base.php b/lib/base.php index 819e22d96fe164d221309bbd805bfa5ed8da76be..b06cd3e986f8cf9441dc4546bc0e572ed97d4550 100644 --- a/lib/base.php +++ b/lib/base.php @@ -745,7 +745,7 @@ class OC { // Ignore HTTP Authentication for 5 more mintues. setcookie('oc_ignore_php_auth_user', $_SERVER['PHP_AUTH_USER'], time() + 300, OC::$WEBROOT.(empty(OC::$WEBROOT) ? '/' : '')); } elseif ($_SERVER['PHP_AUTH_USER'] === self::$session->get('loginname')) { - // Ignore HTTP Aunthentication to allow a different user to log in. + // Ignore HTTP Authentication to allow a different user to log in. setcookie('oc_ignore_php_auth_user', $_SERVER['PHP_AUTH_USER'], 0, OC::$WEBROOT.(empty(OC::$WEBROOT) ? '/' : '')); } }