jbrada/module-well-known-change-password 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jbrada/module-well-known-change-password

Composer 安装命令:

composer require jbrada/module-well-known-change-password

包简介

This Magento 2 module provides a well-known endpoint for the 'change password' functionality, allowing seamless redirection to the customer password change page.

README 文档

README

Magento Package Maven Badge Code Analysis Tests

Overview

The JBrada_WellKnownChangePassword module implements the .well-known/change-password standard for Magento 2. This allows password managers to easily locate and redirect users to the correct URL when they wish to change their password.

While there are multiple ways to achieve this functionality, such as adding custom URL rewrites in Magento or configuring the webserver, this method directly integrates it within Magento itself. By doing so, the URL is permanently tied into Magento, eliminating the need for further configuration or maintenance.

The module creates a well-known URL /.well-known/change-password that redirects to the Magento customer edit page, where users can manage their account and update their password.

Installation

To install the module via composer, run the following command:

composer require jbrada/module-well-known-change-password

Enable the module in Magento:

bin/magento module:enable JBrada_WellKnownChangePassword
bin/magento setup:upgrade

Usage

Once installed, the module automatically exposes the /.well-known/change-password URL on your Magento site. When visited, this URL will redirect to the customer password change page where users can manage their password.

Example

If your Magento store URL is https://example.com, visiting:

https://example.com/.well-known/change-password

will redirect to:

https://example.com/customer/account/edit/changepass/1/

Tools Implementing This Standard

This standard is already supported by a number of tools, including:

  • iCloud Keychain (iOS 12)
  • Safari 12
  • 1Password (1Password 8, and 1Password for Chrome, Firefox, Edge, and macOS Safari)
  • Chrome 86
  • Backdrop CMS (via the Well-known module)

License

This module is licensed under MIT license. Please refer to the LICENSE.md file for more information.

Note on Testing

This repository utilizes ExtDN's GitHub Actions for Magento 2 to run tests in GitHub Actions.

About

This project is created by Jiří Brada and is a non-profit initiative to support the Magento community.

Have feedback? I'd love to hear from you.

Connect with me on LinkedIn or visit my website.

jbrada/module-well-known-change-password 适用场景与选型建议

jbrada/module-well-known-change-password 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8.48k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2024 年 10 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 jbrada/module-well-known-change-password 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 jbrada/module-well-known-change-password 我们能提供哪些服务?
定制开发 / 二次开发

基于 jbrada/module-well-known-change-password 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 8.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-14