area17 / twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
https://twillcms.com
Apache License 2.0
3.72k stars 568 forks source link

Fix deleted users causes error 500 #2643

Open Tofandel opened 1 month ago

Tofandel commented 1 month ago

When a twill user that previously logged in gets deleted, any user after that, that tries to access the dashboard will get an error 500, because subject is pointing to null (a user that doesn't exist anymore)