tachybase_todo/packages/plugins/@nocobase/plugin-sms-auth
hello@lv 13fa2ffea3 chore: version 20240423 组件补全组件报错 (#807)
Co-authored-by: lyx <2027667395@qq.com>
Reviewed-on: daoyoucloud/tachybase#807
Co-authored-by: hello@lv <2256334253@qq.com>
Co-committed-by: hello@lv <2256334253@qq.com>
2024-04-23 12:21:14 +08:00
..
src feat: @formily/* 统一成 @nocobase/schema,清理所有的 ts build 报错 (#566) 2024-04-02 18:13:33 +08:00
.npmignore feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
client.d.ts feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
client.js feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
LICENSE fix: add LICENSE 2023-12-29 13:11:56 +08:00
package.json chore: version 20240423 组件补全组件报错 (#807) 2024-04-23 12:21:14 +08:00
README.md feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
server.d.ts feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
server.js feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00

SMS Auth

提供短信登录认证功能。

依赖

  • @nocobase/auth 认证插件,提供认证相关功能,表、模型、函数复用等。
  • @nocobase/plugin-verification 验证码插件,提供短信发送功能。

使用方法

新增验证码Provider

插件设置 - Verification/验证码
新增一个Provider, 并设置为默认方式。

新增SMS认证器

插件设置 - Authentication/认证
新增选择认证类型为SMS新增一个Authenticator。

效果如图: