octobercms - 如何更改rainlab.user::mail.invite 以获得激活链接
问题描述
我正在使用 rainlabs 用户插件,但我不允许用户注册,但我手动添加新用户,但我仍然希望新用户激活他们的帐户我想我可以将 mail.invite 模板更改为
Hello {{ name }}
A user account has been created for you. Please use the following login and password to sign in:
{% partial 'panel' body %}
- Login: `{{ login }}`
- Password: `{{ password|raw }}`
{% endpartial %}
We need to verify that this is your email address.
Please click the link below to confirm your account:
{% partial 'button' url=link type='positive' body %}
Confirm account
{% endpartial %}
After signing in you should change your password as soon as possible.
部分有效,但按钮不再包含激活 URL 是否有更好的解决方案,或者我需要更改插件
解决方案
推荐阅读
- excel - 从 VBA 代码工作,到代码没有变化,突然代码不起作用
- java - Kafka Streams 基于过滤器和聚合的批量数据处理问题
- javascript - GET 请求不在 json 内容类型烧瓶中
- javascript - 为什么 __proto__ 引用名称对于继承的对象看起来是错误的?
- google-apps-script - 更新 Google 域共享联系人照片
- mysql - mysql中出现频率最高的值
- python - 比 Pandas 的 isin 函数更快地提取条件行的方法
- python - python:我可以重新导入外部配置文件并让程序读取它而不重新启动程序本身吗?
- android - 将视图折叠到选项卡布局
- youtube-api - 如何列出 YouTube 频道的所有视频,包括每个视频的观看次数