mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Also show the logout button when using externally managed auth (fixes #1709)
This commit is contained in:
parent
ad0dbdfc22
commit
5f8299cf4a
@ -5,3 +5,4 @@
|
||||
- Fixed that formatted (HTML) text for the (hidden by default) product description column on the stock overview page was not correctly displayed
|
||||
- Fixed that numeric and date-time sorting of table columns on the stock entries page did not work correctly (thanks @MasterofJOKers)
|
||||
- Fixed that the barcode lookup for the "Stock by-barcode" API endpoints was case sensitive
|
||||
- Fixed that the logout button/menu was missing when using external authentication (e.g. LDAP)
|
||||
|
@ -483,10 +483,10 @@
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
|
||||
<a class="dropdown-item logout-button discrete-link"
|
||||
href="{{ $U('/logout') }}"><i class="fas fa-sign-out-alt"></i> {{ $__t('Logout') }}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
|
||||
<a class="dropdown-item logout-button discrete-link"
|
||||
href="{{ $U('/user/' . GROCY_USER_ID . '?changepw=true') }}"><i class="fas fa-key"></i> {{ $__t('Change password') }}</a>
|
||||
@else
|
||||
|
Loading…
x
Reference in New Issue
Block a user