This PR aims to serve as a starting point to finally close one of Solidus' oldest issues (solidusio/solidus#438) by adding a "Reset password" button/form admins can use to reset an user's password if necessary. It supeseeds PRs solidusio/solidus#1942 and solidusio/solidus#3151
Said button/form only renders if the user being modified is not the same as the one currently logged-in, as it makes no sense an admin would reset their own password through the admin panel.
This PR also re-introduces Deface (see #114), which might be the most sensible change included in this patch, but it's preferable than entirely overriding a view, as it might be modified in some way by another Solidus extension or the stores themselves.
This PR aims to serve as a starting point to finally close one of Solidus' oldest issues (solidusio/solidus#438) by adding a "Reset password" button/form admins can use to reset an user's password if necessary. It supeseeds PRs solidusio/solidus#1942 and solidusio/solidus#3151
Said button/form only renders if the user being modified is not the same as the one currently logged-in, as it makes no sense an admin would reset their own password through the admin panel.
This PR also re-introduces Deface (see #114), which might be the most sensible change included in this patch, but it's preferable than entirely overriding a view, as it might be modified in some way by another Solidus extension or the stores themselves.