Skip to content

Commit

Permalink
Return password
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Nov 29, 2023
1 parent 57c9aa3 commit 1cb5a22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/libraries/Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,16 @@ public function seed(): string

// Admin

$password = 'administrator';

$this->CI->admins_model->save([
'first_name' => 'John',
'last_name' => 'Doe',
'email' => 'john@example.org',
'phone_number' => '+10000000000',
'settings' => [
'username' => 'administrator',
'password' => 'administrator',
'password' => $password,
'notifications' => true,
'calendar_view' => CALENDAR_VIEW_DEFAULT
]
Expand Down

0 comments on commit 1cb5a22

Please sign in to comment.