Add a way for a user to override the site skin setting + fix mislabeled comment. (#6891)

* Add a way for a user to override the skin setting.

* Add site setting to allow user to change the skin.

* Fix skin list.

Co-authored-by: NMC <info@nmc-lab.com>
This commit is contained in:
NMC
2021-03-29 22:09:23 -04:00
committed by GitHub
parent 78cc47a859
commit 3e934a1b96
9 changed files with 132 additions and 13 deletions
+1 -2
View File
@@ -48,10 +48,9 @@ class ProfileController extends Controller
$user->last_name = $request->input('last_name');
$user->website = $request->input('website');
$user->gravatar = $request->input('gravatar');
$user->skin = $request->input('skin');
$user->phone = $request->input('phone');
if (!config('app.lock_passwords')) {
$user->locale = $request->input('locale', 'en');
}