mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-07-31 08:38:30 -05:00
Ensure we go back to the login page after logging out, when installed at a virtual root. Fixes #1691
This commit is contained in:
committed by
Dave Page
parent
8797b3f3bf
commit
5c855234f8
@@ -156,7 +156,7 @@ require.onResourceLoad = function (context, map, depMaps) {
|
||||
<li><a href="#" onclick="pgAdmin.Browser.UserManagement.show_users()">{{ _('Users') }}</a></li>
|
||||
<li class="divider"></li>
|
||||
{% endif %}
|
||||
<li><a href="{{ url_for('security.logout') }}">{{ _('Logout') }}</a></li>
|
||||
<li><a href="{{ url_for('security.logout') }}?next={{url_for('browser.index')}}">{{ _('Logout') }}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user