Contribution Date
Technology
Contribution Project
Contribution Details
+++ b/src/Controller/PosCashierLoginPage.php
@@ -16,6 +16,11 @@ class PosCashierLoginPage extends ControllerBase {
+ if (\Drupal::currentUser()->isAuthenticated()) {
current_user
and MessengerTrait
are already available in the parent class. You don't need to load them again from services.
Contribution Issue Link
Files count
0
Patches count
0