Skip to content

A free open source IT asset/license management system

The custom settings section of SAML sometimes has bad linefeeds

Brady Wetherington0ec2884c29b7
diff --git a/resources/views/settings/saml.blade.php b/resources/views/settings/saml.blade.php
index 55d79e0c7e..02f475fddc 100644
--- a/resources/views/settings/saml.blade.php
+++ b/resources/views/settings/saml.blade.php
@@ -157,9 +157,7 @@
{{ Form::label('saml_custom_settings', trans('admin/settings/general.saml_custom_settings')) }}
</div>
<div class="col-md-9">
- {{ Form::textarea('saml_custom_settings', old('saml_custom_settings', $setting->saml_custom_settings), ['class' => 'form-control','placeholder' => 'example.option=false
-sp_x509cert=file:///...
-sp_private_key=file:///', 'wrap' => 'off', $setting->demoMode]) }}
+ {{ Form::textarea('saml_custom_settings', old('saml_custom_settings', $setting->saml_custom_settings), ['class' => 'form-control','placeholder' => 'example.option=false&#13;&#10;sp_x509cert=file:///...&#13;&#10;sp_private_key=file:///', 'wrap' => 'off', $setting->demoMode]) }}
<p class="help-block">{{ trans('admin/settings/general.saml_custom_settings_help') }}</p>
{!! $errors->first('saml_custom_settings', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
</div>