summaryrefslogtreecommitdiff
path: root/httemplate/pref/pref-process.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-06 23:13:11 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-06 23:13:11 -0700
commit9d35792778885932c09102bd011b518eb47c5131 (patch)
treeeba3d5836a71c74c8260733c044a529dbd1e56bc /httemplate/pref/pref-process.html
parent5c898c621e1343f8c116a75ca3131eb78229e09b (diff)
NG auth: fix new customer, remove mapsecrets support, RT#21563
Diffstat (limited to 'httemplate/pref/pref-process.html')
-rw-r--r--httemplate/pref/pref-process.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html
index 6b94f7175..242e12294 100644
--- a/httemplate/pref/pref-process.html
+++ b/httemplate/pref/pref-process.html
@@ -20,7 +20,8 @@ if ( grep { $cgi->param($_) !~ /^\s*$/ }
) {
$access_user = qsearchs( 'access_user', {
- 'username' => getotaker,
+ 'usernum' => $FS::CurrentUser::CurrentUser->usernum,
+ 'username' => $FS::CurrentUser::CurrentUser->username,
'_password' => scalar($cgi->param('_password')),
} );