summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 14:17:09 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 14:17:09 -0400
commit7e91c2872778407172fa42208be1aa7e466b97e3 (patch)
tree48d91d4a9e0b236f19be61d493527e4293e7333f /src
parent89c35c47f375d5b45e1e219327600b5bba5569f1 (diff)
Don't show full name to anon users, comment out security check for index.
Diffstat (limited to 'src')
-rw-r--r--src/controllers/Users.class.php4
1 files 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;