fix: access to private property

This commit is contained in:
grandeljay 2023-11-12 11:18:50 +01:00
parent d31df30187
commit 87de601872

View file

@ -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'));
}