Missing the user name on the reauthenticate form.

This commit is contained in:
Tim Almdal
2010-07-29 08:57:21 -07:00
parent 529b9ac56c
commit 6cd31e31af

View File

@@ -28,6 +28,7 @@ class Reauthenticate_Controller extends Controller {
if ($is_ajax) {
$v = new View("reauthenticate.html");
$v->form = self::_form();
$v->user_name = identity::active_user()->name;
json::reply(array("form" => (string) $v));
} else {
self::_show_form(self::_form());