#@layout() #define content() 登录注册 首页 / 系统 / 登录注册 用户登录 登录须输入验证码 登录成功跳转地址 不填写时,当用户登录成功后会跳转到用户中心 /ucenter 。 启用微信登录功能 微信 AppKey 微信 AppSecret 微信的 AppKey 和 AppSecret 请去 https://open.weixin.qq.com 申请。 启用QQ登录功能 QQ AppKey QQ AppSecret QQ 的 AppKey 和 AppSecret 请去 https://connect.qq.com 申请。 启用微博登录功能 微博 AppKey 微博 AppSecret 微博 的 AppKey 和 AppSecret 请去 https://open.weibo.com 申请。 启用GitHub登录功能 GitHub AppKey GitHub AppSecret GitHub 的 AppKey 和 AppSecret 请去 https://github.com/settings/applications/new 申请。 启用码云登录功能 码云 AppKey 码云 AppSecret 码云 的 AppKey 和 AppSecret 请去 https://gitee.com/oauth/applications 申请。 启用钉钉登录功能 钉钉 AppKey 钉钉 AppSecret 钉钉 的 AppKey 和 AppSecret 请去 https://open-dev.dingtalk.com 申请。 用户注册 开启注册功能 默认所有注册用户未激活 开启此功能后,需要管理员在后台对用户进行手动激活。 启用邮件验证 邮件标题 邮件模板 #option("reg_email_validate_template") 请先在 [通信] 开启邮件功能后才能使用。 手机短信验证 短信模板 #option("reg_sms_validate_template") 请先在 [通信] 开启短信功能,这里填写阿里云或腾讯云的短信模板ID。 短信签名 请填写阿里云或腾讯云的短信签名。 #end
不填写时,当用户登录成功后会跳转到用户中心 /ucenter 。
微信的 AppKey 和 AppSecret 请去 https://open.weixin.qq.com 申请。
QQ 的 AppKey 和 AppSecret 请去 https://connect.qq.com 申请。
微博 的 AppKey 和 AppSecret 请去 https://open.weibo.com 申请。
GitHub 的 AppKey 和 AppSecret 请去 https://github.com/settings/applications/new 申请。
码云 的 AppKey 和 AppSecret 请去 https://gitee.com/oauth/applications 申请。
钉钉 的 AppKey 和 AppSecret 请去 https://open-dev.dingtalk.com 申请。
开启此功能后,需要管理员在后台对用户进行手动激活。
请先在 [通信] 开启邮件功能后才能使用。
请先在 [通信] 开启短信功能,这里填写阿里云或腾讯云的短信模板ID。
请填写阿里云或腾讯云的短信签名。