Fixed #8669 - Allow application/xml in SAML upload in Safari

This commit is contained in:
snipe 2020-11-12 18:47:19 -08:00
parent 6dccf399a5
commit 7765c87387

View file

@ -101,7 +101,7 @@
<button type="button" class="btn btn-default" id="saml_idp_metadata_upload_btn">{{ trans('button.select_file') }}</button>
<input type="file" class="js-uploadFile" id="saml_idp_metadata_upload"
data-maxsize="{{ \App\Helpers\Helper::file_upload_max_size() }}"
accept="text/*" style="display:none; max-width: 90%">
accept="text/xml,application/xml" style="display:none; max-width: 90%">
<p class="help-block">{{ trans('admin/settings/general.saml_idp_metadata_help') }}</p>
</div>