Thread: [patch][pgAdmin] RM6369 CSRF errors for stale sessions

[patch][pgAdmin] RM6369 CSRF errors for stale sessions

From
Rahul Shirsat
Date:
Hi Hackers,

Please find the attached patch which increases the session expiration time for desktop mode to 1 week.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.
Attachment

Re: [patch][pgAdmin] RM6369 CSRF errors for stale sessions

From
Khushboo Vashi
Date:
Hi Rahul,

You made this change at the end of the config.py file, so the changes made by the user for this parameter in config_local or config_system file will not be reflected.

Thanks,
Khushboo

On Tue, Jul 13, 2021 at 6:24 PM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:
Hi Hackers,

Please find the attached patch which increases the session expiration time for desktop mode to 1 week.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.

Re: [patch][pgAdmin] RM6369 CSRF errors for stale sessions

From
Rahul Shirsat
Date:

Please find the updated patch.

On Tue, Jul 13, 2021 at 6:33 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi Rahul,

You made this change at the end of the config.py file, so the changes made by the user for this parameter in config_local or config_system file will not be reflected.

Thanks,
Khushboo

On Tue, Jul 13, 2021 at 6:24 PM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:
Hi Hackers,

Please find the attached patch which increases the session expiration time for desktop mode to 1 week.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.


--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.
Attachment

Re: [patch][pgAdmin] RM6369 CSRF errors for stale sessions

From
Khushboo Vashi
Date:

On Wed, Jul 14, 2021 at 10:49 AM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:

Please find the updated patch.
The code change looks good. 

On Tue, Jul 13, 2021 at 6:33 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi Rahul,

You made this change at the end of the config.py file, so the changes made by the user for this parameter in config_local or config_system file will not be reflected.

Thanks,
Khushboo

On Tue, Jul 13, 2021 at 6:24 PM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:
Hi Hackers,

Please find the attached patch which increases the session expiration time for desktop mode to 1 week.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.


--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.

Re: [patch][pgAdmin] RM6369 CSRF errors for stale sessions

From
Akshay Joshi
Date:
Thanks, the patch applied.

On Wed, Jul 14, 2021 at 10:53 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:

On Wed, Jul 14, 2021 at 10:49 AM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:

Please find the updated patch.
The code change looks good. 

On Tue, Jul 13, 2021 at 6:33 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi Rahul,

You made this change at the end of the config.py file, so the changes made by the user for this parameter in config_local or config_system file will not be reflected.

Thanks,
Khushboo

On Tue, Jul 13, 2021 at 6:24 PM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:
Hi Hackers,

Please find the attached patch which increases the session expiration time for desktop mode to 1 week.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.


--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246