From 2e538b5aad894f5cec1ee2969b1f028bd2ba6d75 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 18 Jan 2011 18:43:47 +0100 Subject: [PATCH] USER_FLAG_TY_x added in the default auth array when the auth file not exists --- web/Obj/auth.phh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh index 2d94962..6033fd5 100644 --- a/web/Obj/auth.phh +++ b/web/Obj/auth.phh @@ -323,10 +323,10 @@ class LoginDB { require("$DOCUMENT_ROOT/Etc/".BRISK_AUTH_CONF); } else { - $this->item = array( new LoginDBItem("uno", md5("one"), "pippo@pluto.com"), - new LoginDBItem("due", md5("two"), "pippo@pluto.com"), - new LoginDBItem("a_b", md5("abb"), "pippo@pluto.com"), - new LoginDBItem("tre", md5("three"), "pippo@pluto.com") ); + $this->item = array( new LoginDBItem("uno", md5("one"), "pippo@pluto.com", USER_FLAG_TY_SUPER), + new LoginDBItem("due", md5("two"), "pippo@pluto.com", USER_FLAG_TY_NORM), + new LoginDBItem("a_b", md5("abb"), "pippo@pluto.com", USER_FLAG_TY_NORM), + new LoginDBItem("tre", md5("three"), "pippo@pluto.com", USER_FLAG_TY_NORM) ); } $this->item_n = count($this->item); log_main("LoginDB create:end"); -- 2.17.1