From 7e91c2872778407172fa42208be1aa7e466b97e3 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Oct 2011 14:17:09 -0400 Subject: Don't show full name to anon users, comment out security check for index. --- src/controllers/Users.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/Users.class.php b/src/controllers/Users.class.php index f7dc604..c69701f 100644 --- a/src/controllers/Users.class.php +++ b/src/controllers/Users.class.php @@ -329,11 +329,13 @@ class Users extends Controller { private function show_index($routed, $remainder) { global $mm; $db = $mm->database(); + /* $logged_in_user = Auth::getObj(Login::isLoggedIn()); if (!$logged_in_user->isUser()) { $this->http401($routed, $remainder); exit(); } + */ $vars = array(); $vars['attribs'] = $this->getIndexAttribs(); @@ -434,8 +436,6 @@ class Users extends Controller { $attribs[] = $this->attrib('email','Email'); } else { $attribs[] = $this->attrib('auth_uid', 'UID'); - $attribs[] = $this->attrib('lastname','Last'); - $attribs[] = $this->attrib('firstname','First'); $attribs[] = $this->attrib('auth_name', 'Username'); } return $attribs; -- cgit v1.2.3-2-g168b