Fix use object of type wishthis\User as array

This commit is contained in:
grandeljay 2022-06-27 11:11:59 +02:00
parent 6091bf7c5e
commit d7695d7694

View file

@ -52,7 +52,7 @@ $users = $database
<?php <?php
if (isset($success)) { if (isset($success)) {
if ($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 { } else {
echo Page::error(__('User not found!'), __('Error')); echo Page::error(__('User not found!'), __('Error'));
} }