[Bot] [Discussion] [PR #14480] fix: logout issue in update password page

Testing Site URL: https://gh-imp-2021-01607.castlecraft.co.in

Pull Request URL: https://github.com/frappe/frappe/pull/14480
Pull Request Title: fix: logout issue in update password page
Pull Request Description:

Issue when wrong password is entered in the old password field, the user gets logged out automatically.

Credentials

username: ernestmoon@yahoo.com
password: b77c7823b5

Please help maintain the servers https://board.castlecraft.co.in/donate-and-support