about summary refs log tree commit diff stats
path: root/series/trunk/admin/chpwd.php
diff options
context:
space:
mode:
Diffstat (limited to 'series/trunk/admin/chpwd.php')
-rw-r--r--series/trunk/admin/chpwd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/series/trunk/admin/chpwd.php b/series/trunk/admin/chpwd.php index 2f5368d..abd6d97 100644 --- a/series/trunk/admin/chpwd.php +++ b/series/trunk/admin/chpwd.php
@@ -56,7 +56,7 @@ if (isset($_SESSION['username']))
56 { 56 {
57 showForm($_POST['old'], $_POST['new'], $_POST['confirm'], $errors); 57 showForm($_POST['old'], $_POST['new'], $_POST['confirm'], $errors);
58 } else { 58 } else {
59 instaDisc_changePassword( $_POST['new']); 59 instaDisc_changePassword($_SESSION['username'], $_POST['new']);
60 60
61 $template = new FITemplate('changedpassword'); 61 $template = new FITemplate('changedpassword');
62 $template->add('SITENAME', instaDisc_getConfig('siteName')); 62 $template->add('SITENAME', instaDisc_getConfig('siteName'));