mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 02:36:54 +00:00 
			
		
		
		
	Also show the logout button when using externally managed auth (fixes #1709)
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user