跳转到主要内容

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=<更改我>

项目详情


下载文件

下载适用于您平台文件的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

cubicweb-registration-0.14.0.tar.gz (10.7 kB 查看哈希值)

上传于 源代码

构建分发版

cubicweb_registration-0.14.0-py3-none-any.whl (9.3 kB 查看哈希值)

上传于 Python 3

由以下支持