mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
forget old lang cookies
This commit is contained in:
@@ -11,9 +11,6 @@ class Footer extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
if (str(Cookie::get('lang'))->contains('ey')) {
|
||||
Cookie::forget('lang');
|
||||
}
|
||||
$l = Cookie::get('lang', config('app.locale'));
|
||||
$language = Language::query()
|
||||
->where('language', $l)
|
||||
|
||||
Reference in New Issue
Block a user