tryton模块管理web用户
trytond-web-user的Python项目详细描述
Web用户模块提供管理外部用户访问的工具 网络。
用户
用户通过电子邮件唯一标识,并使用 哈希密码。用户可以链接到参与方。
有两种操作:
- validate电子邮件使用指向url的链接向用户发送电子邮件 确保地址存在。
- reset password向用户发送带有指向url链接的电子邮件 设置新密码。
配置
Web用户模块使用来自不同部分的参数:
网络:
- reset_password_url: the URL to reset the password to which the parameters email and token will be added.
- email_validation_url: the URL for email validation to which the parameter token will be added.
电子邮件:
- from: the origin address to send emails.
会话:
- web_timeout: defines in seconds the validity of the web session. Default: 30 days.
- web_timeout_reset: in seconds the validity of the reset password token. Default: 1 day.