public function settings(Request $request)
    {
        $this->authorize('update', Settings::class);

        $this->settings->update([
            'enabled'                 => $request->enabled ? true : false,
            'allow_register'          => $request->allow_register ? false : false, // Not enabled yet
            'facebook_client_id'      => $request->facebook_client_id ? encrypt($request->facebook_client_id) : null,
            'facebook_client_secret'  => $request->facebook_client_secret ? encrypt($request->facebook_client_secret) : null,
            'twitter_client_id'       => $request->twitter_client_id ? encrypt($request->twitter_client_id) : null,
            'twitter_client_secret'   => $request->twitter_client_secret ? encrypt($request->twitter_client_secret) : null,
            'linkedin_client_id'      => $request->linkedin_client_id ? encrypt($request->linkedin_client_id) : null,
            'linkedin_client_secret'  => $request->linkedin_client_secret ? encrypt($request->linkedin_client_secret) : null,
            'google_client_id'        => $request->google_client_id ? encrypt($request->google_client_id) : null,
            'google_client_secret'    => $request->google_client_secret ? encrypt($request->google_client_secret) : null,
            'github_client_id'        => $request->github_client_id ? encrypt($request->github_client_id) : null,
            'github_client_secret'    => $request->github_client_secret ? encrypt($request->github_client_secret) : null,
            'bitbucket_client_id'     => $request->bitbucket_client_id ? encrypt($request->bitbucket_client_id) : null,
            'bitbucket_client_secret' => $request->bitbucket_client_secret ? encrypt($request->bitbucket_client_secret) : null,
        ]);

        $this->settings->touch();

        return redirect()->route('laralum::settings.index', ['p' => 'Social'])->with('success', __('laralum_social::general.updated_settings'));
    }