diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php index b6c03818..abae79d4 100644 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -281,7 +281,7 @@ class User { $this->debug->append("Fetching user information for user id: $userID"); $stmt = $this->mysqli->prepare(" SELECT - id, username, pin, pass, admin, + id, username, pin, api_key, admin, IFNULL(donate_percent, '0') as donate_percent, coin_address, ap_threshold FROM $this->table WHERE id = ? LIMIT 0,1"); diff --git a/public/include/pages/account/edit.inc.php b/public/include/pages/account/edit.inc.php index c8c9f6fc..884f6b6b 100644 --- a/public/include/pages/account/edit.inc.php +++ b/public/include/pages/account/edit.inc.php @@ -61,6 +61,7 @@ if ( ! $user->checkPin($_SESSION['USERDATA']['id'], $_POST['authPin']) && $_POST break; } } + // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); ?> diff --git a/public/templates/mmcFE/account/edit/default.tpl b/public/templates/mmcFE/account/edit/default.tpl index c57fe6f4..9d885b16 100644 --- a/public/templates/mmcFE/account/edit/default.tpl +++ b/public/templates/mmcFE/account/edit/default.tpl @@ -6,6 +6,7 @@
| Username: | {$GLOBAL.userdata.username} |
| User Id: | {$GLOBAL.userdata.id} |
| API Key: | {$GLOBAL.userdata.api_key} |
| Payment Address: | |
| Donation %: | [donation amount in percent (example: 0.5)] |
| Automatic Payout Threshold: | [1-250 LTC. Set to '0' for no auto payout] |