mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update HomeSettings Controller, allow html in bio
This commit is contained in:
parent
3696745cbf
commit
f69248ba06
1 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ use App\UserFilter;
|
|||
use App\Util\Lexer\PrettyNumber;
|
||||
use Auth;
|
||||
use DB;
|
||||
use Purify;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
trait HomeSettings
|
||||
|
@ -40,8 +41,8 @@ trait HomeSettings
|
|||
]);
|
||||
|
||||
$changes = false;
|
||||
$name = $request->input('name');
|
||||
$bio = $request->input('bio');
|
||||
$name = strip_tags($request->input('name'));
|
||||
$bio = Purify::clean($request->input('bio'));
|
||||
$website = $request->input('website');
|
||||
$email = $request->input('email');
|
||||
$user = Auth::user();
|
||||
|
|
Loading…
Reference in a new issue