mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Users: Hid lanuage preference for guest user
Hiding since it's not really used, and may mislead on how to set default app language (which should be done via env options). Updated test to cover. For #5356
This commit is contained in:
@ -34,7 +34,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('users.parts.language-option-row', ['value' => old('language') ?? $user->getLocale()->appLocale()])
|
||||
@if(!$user->isGuest())
|
||||
@include('users.parts.language-option-row', ['value' => old('language') ?? $user->getLocale()->appLocale()])
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
|
Reference in New Issue
Block a user