plugins/SpecialUserFuncs.php
changeset 60 71b50f8c8f85
parent 57 b354deeaa4c4
child 81 d7fc25acd3f3
--- a/plugins/SpecialUserFuncs.php	Tue Jul 10 03:38:19 2007 -0400
+++ b/plugins/SpecialUserFuncs.php	Tue Jul 10 11:59:02 2007 -0400
@@ -99,7 +99,9 @@
   
   if ( isset($_GET['act']) && $_GET['act'] == 'getkey' )
   {
+    $username = ( $session->user_logged_in ) ? $session->username : false;
     $response = Array(
+      'username' => $username,
       'key' => $pubkey,
       'challenge' => $challenge
       );