summaryrefslogtreecommitdiff
path: root/src/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers')
-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;