Skip to content

Commit

Permalink
Remove reference about the nickname field into jlx_users
Browse files Browse the repository at this point in the history
We don't have this field in our custom table for jCommunity
  • Loading branch information
laurentj committed Jul 30, 2023
1 parent 8a8bc07 commit 69f1496
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions extra-modules/lizmapdemo/install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ public function install(Jelix\Installer\Module\API\InstallHelpers $helpers)
$user->street = '';
$user->postcode = '';
$user->city = '';
$user->nickname = $user->login = 'lizadmin';
$user->login = 'lizadmin';
$user->password = $passwordHash1;
$user->email = '[email protected]';
$user->status = 1;
$dao->insert($user);

$user->nickname = $user->login = 'logintranet';
$user->login = 'logintranet';
$user->password = $passwordHash2;
$user->email = '[email protected]';
$dao->insert($user);
Expand Down
4 changes: 2 additions & 2 deletions extra-modules/lizmapdemo/install/install_1_6.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ public function install()
$user->street = '';
$user->postcode = '';
$user->city = '';
$user->nickname = $user->login = 'lizadmin';
$user->login = 'lizadmin';
$user->password = $passwordHash1;
$user->email = '[email protected]';
$user->status = 1;
$dao->insert($user);

$user->nickname = $user->login = 'logintranet';
$user->login = 'logintranet';
$user->password = $passwordHash2;
$user->email = '[email protected]';
$dao->insert($user);
Expand Down
3 changes: 1 addition & 2 deletions lizmap/modules/lizmap/install/defaultusers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"_clear_password_to_be_encrypted": "admin",
"status": 1,
"email": "[email protected]",
"nickname": "admin",
"firstname": "",
"firstname": "",
"lastname": "",
"organization": "",
"street": "",
Expand Down

0 comments on commit 69f1496

Please sign in to comment.