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): """