fix: access to private property
This commit is contained in:
parent
d31df30187
commit
87de601872
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ $users = $database
|
|||
<?php
|
||||
if (isset($success)) {
|
||||
if ($success) {
|
||||
echo Page::success(sprintf(__('Successfully logged in as %s.'), $user->email), __('Success'));
|
||||
echo Page::success(sprintf(__('Successfully logged in as %s.'), $user->getEmail()), __('Success'));
|
||||
} else {
|
||||
echo Page::error(__('User not found!'), __('Error'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue