mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update PrivacySettings controller, clear cache after updating
This commit is contained in:
parent
5049d4d64f
commit
d8d11d7b9a
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ trait PrivacySettings
|
|||
$settings->save();
|
||||
}
|
||||
Cache::forget('profile:settings:' . $profile->id);
|
||||
Cache::forget('user:account:id:' . $profile->user_id);
|
||||
return redirect(route('settings.privacy'))->with('status', 'Settings successfully updated!');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue