1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

Hide app version from guests

This commit is contained in:
FreeScout 2018-09-15 00:10:23 -07:00
parent 6cc1e5e838
commit de79bba27c

View File

@ -226,7 +226,11 @@
@if (!in_array(Route::currentRouteName(), array('mailboxes.view')))
<div class="footer">
&copy; {{ date('Y') }} <a href="{{ config('app.freescout_url') }}" target="blank">{{ \Config::get('app.name') }}</a> {{ __('Free open source help desk &amp; shared mailbox' ) }}<br/>{{ config('app.version') }}
&copy; {{ date('Y') }} <a href="{{ config('app.freescout_url') }}" target="blank">{{ \Config::get('app.name') }}</a> {{ __('Free open source help desk &amp; shared mailbox' ) }}
{{-- Hide version from hackers --}}
@if (Auth::user())
<br/>{{ config('app.version') }}
@endif
</div>
@endif
</div>