Fix use object of type wishthis\User as array
This commit is contained in:
parent
6091bf7c5e
commit
d7695d7694
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ $users = $database
|
|||
<?php
|
||||
if (isset($success)) {
|
||||
if ($success) {
|
||||
echo Page::success(sprintf(__('Successfully logged in as %s.'), $_SESSION['user']['email']), __('Success'));
|
||||
echo Page::success(sprintf(__('Successfully logged in as %s.'), $_SESSION['user']->email), __('Success'));
|
||||
} else {
|
||||
echo Page::error(__('User not found!'), __('Error'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue