Re: [pgAdmin4][RM2892] Handle password changes properly if erroroccurs during sending email - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][RM2892] Handle password changes properly if erroroccurs during sending email
Date
Msg-id CA+OCxowqxjhuUZg1YjxfzZY0QBZAqvtgPBoN58G4q+utqYRGyg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][RM2892] Handle password changes properly if error occursduring sending email  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
Responses Re: [pgAdmin4][RM2892] Handle password changes properly if erroroccurs during sending email  (Dave Page <dpage@pgadmin.org>)
List 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.dhumal@enterprisedb.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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Refuse password changes (and tell the user) if theno
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][RM2892] Handle password changes properly if erroroccurs during sending email