Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arodu committed Feb 6, 2024
1 parent ec19864 commit 6db34ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/LoginComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,6 @@ protected function addFlashMessage($user)
return;
}

$this->getController()->Flash->success(__d('cake_d_c/users', 'Welcome, {0}', $user->username));
$this->getController()->Flash->success(__d('cake_d_c/users', 'Welcome, {0}', $user['username']));
}
}

0 comments on commit 6db34ad

Please sign in to comment.