shopware-hybrid-auth icon indicating copy to clipboard operation
shopware-hybrid-auth copied to clipboard

customer and userId can be null when directly visiting account/profile and therefore trigger a log entry

Open ellogwen opened this issue 6 years ago • 1 comments

When a bot/user directly visits the /account/profile controller-action and is not logged in, than you will get an entry in your server error log due to an exception thrown in Subscriber/PluginFrontendSubscriper.php because the method is missing checks that userId or customer are not empty

ellogwen avatar Jan 29 '19 16:01 ellogwen

i created a PR #14

ellogwen avatar Jan 29 '19 16:01 ellogwen