Re: [pgAdmin4][RM2892] Handle password changes properly if error occurs during sending email

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][RM2892] Handle password changes properly if error occurs during sending email
Date: 2017-11-30 11:17:17
Message-ID: CA+OCxowqxjhuUZg1YjxfzZY0QBZAqvtgPBoN58G4q+utqYRGyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - applied with minor changes to localise the messages and make it
clear to the user that their password wasn't changed if there was an error.

On Thu, Nov 30, 2017 at 6:11 AM, Harshal Dhumal <
harshal(dot)dhumal(at)enterprisedb(dot)com> wrote:

> Hi,
>
> Unlike flask login-manager flask-security does not provide facility to
> pass custom view
> function to any of callbacks like change/reset/forgot password. So we
> cannot
> handle any exceptions occurred during changing/resetting password.
> Only way we can handle such exceptions is writing our own routes for these
> callbacks and
> add addition code to handle such exceptions.
>
> --
> *Harshal Dhumal*
> *Sr. Software Engineer*
>
> EnterpriseDB India: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-11-30 11:31:58 Re: [pgAdmin4][RM2892] Handle password changes properly if error occurs during sending email
Previous Message Dave Page 2017-11-30 11:16:42 pgAdmin 4 commit: Refuse password changes (and tell the user) if the no