Skip to content

Commit f150f05

Browse files
committed
Implemented: FS#1280 - Dashboard and remote
1 parent b6912ff commit f150f05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/client/client_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function onAfterInsert() {
143143
$password = $app->db->quote($this->dataRecord["password"]);
144144
$modules = $conf['interface_modules_enabled'];
145145
if($this->dataRecord["limit_client"] > 0) $modules .= ',client';
146-
$startmodule = 'mail';
146+
$startmodule = (stristr($modules,'dashboard'))?'dashboard':'client';
147147
$usertheme = $app->db->quote($this->dataRecord["usertheme"]);
148148
$type = 'user';
149149
$active = 1;

interface/web/client/reseller_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function onAfterInsert() {
144144
$username = $app->db->quote($this->dataRecord["username"]);
145145
$password = $app->db->quote($this->dataRecord["password"]);
146146
$modules = $conf['interface_modules_enabled'] . ',client';
147-
$startmodule = 'client';
147+
$startmodule = (stristr($modules,'dashboard'))?'dashboard':'client';
148148
$usertheme = $app->db->quote($this->dataRecord["usertheme"]);
149149
$type = 'user';
150150
$active = 1;

0 commit comments

Comments
 (0)