跳转到主要内容

CubicWeb框架的公共注册组件

项目描述

此CubicWeb组件提供公共注册功能(用户可以注册并创建账户,无需管理员干预)。

要在您的CubicWeb应用程序中激活用户注册功能,只需将此立方添加到您的实例中;要么在您的cube的__pkginfo__中依赖它,要么在CubicWeb shell中运行add_cude命令

$ cubicwebctl shell youapp
entering the migration python shell
just type migration commands or arbitrary python code and type ENTER to execute it
type "exit" or Ctrl-D to quit the shell and resume operation
>>> add_cube('registration')
>>> ^D

然后,在您的应用程序的all-in-one.conf文件中添加或修改registration-cypher-seed配置选项

[REGISTRATION]

# 用于在确认电子邮件链接中加密注册数据的种子 registration-cypher-seed=<更改我>

由以下支持