summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Configuration.php3
-rw-r--r--lib/Minz/FrontController.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Minz/Configuration.php b/lib/Minz/Configuration.php
index 2c30661ed..433992e0d 100644
--- a/lib/Minz/Configuration.php
+++ b/lib/Minz/Configuration.php
@@ -109,7 +109,7 @@ class Minz_Configuration {
return self::$auth_type !== 'none';
}
public static function canLogIn() {
- return self::$auth_type === 'persona';
+ return self::$auth_type === 'form' || self::$auth_type === 'persona';
}
public static function _allowAnonymous($allow = false) {
@@ -118,6 +118,7 @@ class Minz_Configuration {
public static function _authType($value) {
$value = strtolower($value);
switch ($value) {
+ case 'form':
case 'http_auth':
case 'persona':
case 'none':
diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php
index 7b8526bc8..80eda8877 100644
--- a/lib/Minz/FrontController.php
+++ b/lib/Minz/FrontController.php
@@ -34,7 +34,7 @@ class Minz_FrontController {
*/
public function __construct () {
if (LOG_PATH === false) {
- $this->killApp ('Path doesn’t exist : LOG_PATH');
+ $this->killApp ('Path not found: LOG_PATH');
}
try {