summaryrefslogtreecommitdiff
path: root/src/controllers
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 00:51:28 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 00:51:28 -0400
commite99a2ea7e361fdc5bab219bea6d9b967b5df486c (patch)
tree7e9951cf79b763e5b261d3b63b41bd072a4e2d1c /src/controllers
parent2a71bacfc5536279bbc5e238fb6a07c03e85d12d (diff)
Add auth_uid as a parameter for forms in the Users controller.
Diffstat (limited to 'src/controllers')
-rw-r--r--src/controllers/Users.class.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/controllers/Users.class.php b/src/controllers/Users.class.php
index 170d25f..a4403e3 100644
--- a/src/controllers/Users.class.php
+++ b/src/controllers/Users.class.php
@@ -359,6 +359,10 @@ class Users extends Controller {
$editable = $user->canEdit();
switch ($key) {
+ case 'auth_uid':
+ $value = $user->getUID();
+ $editable = false;
+ break;
case 'auth_name':
$value = $user->getName();
break;
@@ -390,6 +394,8 @@ class Users extends Controller {
$user = Auth::getObj($uid);
switch ($key) {
+ case 'auth_uid':
+ break;
case 'auth_name':
$user->setName($value);
break;