定制 heimrichhannot/contao-backend-lost-password-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

heimrichhannot/contao-backend-lost-password-bundle

Composer 安装命令:

composer require heimrichhannot/contao-backend-lost-password-bundle

包简介

This bundle offers a lost password function for the backend of the Contao CMS.

README 文档

README

This bundle offers a lost password function for the backend of the Contao CMS.

alt preview

Features

  • Never send new passwords to your customers again if they have forgotten their old ones. :-)
  • After requesting a new password, a password reset link is sent to the user's email.
  • Optional Notification Center support

Requirements

  • Contao 5.3 or higher
  • PHP 8.3 or higher

Installation and Setup

  1. Install the extension via the Contao Manager or Composer:

    composer require heimrichhannot/contao-backend-lost-password-bundle
  2. Update your database.

  3. Optional: Install Notification Center if you want to use it to send the password reset email.

  4. Optional: To use a custom mailer transport with the built-in mailer, select it in the settings.

  5. Optional: To use Notification Center, create a notification of type User: Lost password and select it in the settings. See details below.

Customize

Password reset email

You have two options for sending the password reset email: you can either use the built-in mail function or Notification Center.

Built-in mail function

To adjust the email text, override the following labels:

$GLOBALS['TL_LANG']['MSC']['backendLostPassword']['messageSubjectResetPassword']
$GLOBALS['TL_LANG']['MSC']['backendLostPassword']['messageBodyResetPassword']

Notification Center

You can use Notification Center to send the password reset email.

  1. Create a notification of type User: Lost password with ##recipient_email## as recipient and content that contains ##link## (the link to the password reset page). You can also use the additional token ##domain## and user data via ##user_*##.
  2. Select the notification in the settings.

Configuration reference

# Default configuration for extension with alias: "huh_backend_lost_password"
huh_backend_lost_password:
    # Automatically add the backend lost password link to the backend login page. Set to false if you want to render the link manually in your template.
    # Default: true
    add_to_template: true

heimrichhannot/contao-backend-lost-password-bundle 适用场景与选型建议

heimrichhannot/contao-backend-lost-password-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.94k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 01 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 heimrichhannot/contao-backend-lost-password-bundle 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2020-01-06