public inbox for [email protected]
help / color / mirror / Atom feedPATCH: To fix the '/logout' redirects to '/' (pgAdmin4)
2+ messages / 2 participants
[nested] [flat]
* PATCH: To fix the '/logout' redirects to '/' (pgAdmin4)
@ 2016-09-23 10:38 Murtuza Zabuawala <[email protected]>
2016-09-23 12:14 ` Re: PATCH: To fix the '/logout' redirects to '/' (pgAdmin4) Dave Page <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Murtuza Zabuawala @ 2016-09-23 10:38 UTC (permalink / raw)
To: pgadmin-hackers
Hi,
PFA patch to fix the issue where '/logout' redirects to '/', which cause
issue if pgAdmin4 is running in virtual root environment.
RM#1691
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Attachments:
[text/x-patch] RM_1691.patch (843B, 3-RM_1691.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/templates/browser/index.html b/web/pgadmin/browser/templates/browser/index.html
index a914c00..5bd054a 100644
--- a/web/pgadmin/browser/templates/browser/index.html
+++ b/web/pgadmin/browser/templates/browser/index.html
@@ -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>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PATCH: To fix the '/logout' redirects to '/' (pgAdmin4)
2016-09-23 10:38 PATCH: To fix the '/logout' redirects to '/' (pgAdmin4) Murtuza Zabuawala <[email protected]>
@ 2016-09-23 12:14 ` Dave Page <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Page @ 2016-09-23 12:14 UTC (permalink / raw)
To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers
Thanks, applied.
On Fri, Sep 23, 2016 at 11:38 AM, Murtuza Zabuawala
<[email protected]> wrote:
> Hi,
>
> PFA patch to fix the issue where '/logout' redirects to '/', which cause
> issue if pgAdmin4 is running in virtual root environment.
> RM#1691
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-09-23 12:14 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 10:38 PATCH: To fix the '/logout' redirects to '/' (pgAdmin4) Murtuza Zabuawala <[email protected]>
2016-09-23 12:14 ` Dave Page <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox