From 2a22e8939c806f959714f0c6c15484ff2520581b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 25 Apr 2024 22:17:59 -0500 Subject: [PATCH] Add index title to Change Password page --- tailbone/views/auth.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tailbone/views/auth.py b/tailbone/views/auth.py index 7c4d26f0..f559a5c4 100644 --- a/tailbone/views/auth.py +++ b/tailbone/views/auth.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2023 Lance Edgar +# Copyright © 2010-2024 Lance Edgar # # This file is part of Rattail. # @@ -24,7 +24,7 @@ Auth Views """ -from rattail.db.auth import authenticate_user, set_user_password +from rattail.db.auth import set_user_password import colander from deform import widget as dfwidget @@ -188,7 +188,8 @@ class AuthenticationView(View): self.request.session.flash("Your password has been changed.") return self.redirect(self.request.get_referrer()) - return {'form': form} + return {'index_title': str(self.request.user), + 'form': form} def become_root(self): """