diff --git a/.env b/.env index 9c362ee..56e0c8a 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ #Email verification=Changes if users have to verify their email after registration. #=REGISTER_AUTH either auth or verified. If auth is selected, no verification is required. Default is verified. -REGISTER_AUTH=verified +REGISTER_AUTH=auth #Internal notifications=Changes if certain messages should be displayed or not. #=NOTIFY_EVENTS notifies admins if an important event is happening, such as polls about the future of this project or security vulnerabilities. @@ -15,10 +15,15 @@ DISPLAY_CREDIT=true #=(e.g. 'admin' without the '@') HOME_URL= +#ALLOW_USER_HTML=Changes if users are able to use custom HTML in their descriptions. Allows for more customized texts. +#=Either true or false. USE WITH CAUTION! If true, this enables users to use custom code, including JavaScript. +#=It is recommended to only turn this option on if you trust your users or only use this instance for yourself. +ALLOW_USER_HTML=false + #App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting. #=App_Name changes the displayed name for the App in the title, for example. APP_NAME="LittleLink Custom" -APP_KEY= +APP_KEY=base64:YUFWn5swwXryVBujHaOdiPqNvLEsC7RZs8df3rb/DJs= #=The APP_URL should be left empty under most circumstances. This setting is not required for LittleLink Custom, and you should only change this if required for your setup. APP_URL= diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index f908a8d..0b778e7 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -147,7 +147,7 @@ function get_operating_system() {
{{ $info->littlelink_description }}
@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif