08c5383bee
* refactor: core/build and cli/build.js * fix: build * fix: bug * fix: replaceAll to replace * fix: node version check * fix: add require check * fix: esbuild other ext * fix: process json * fix: exlude jsx-runtime * feat: split chunk * fix: minify plugin client bundle * fix: compatibility * fix: support import() * feat: update docs * fix: server deps * feat: demo * fix: remove cjs treeshake * fix: local error * fix: bug * fix: lazy load * fix: rewrites * fix: remove dynamic import function * feat: doc demo * fix: codesanbox vite template * fix: codesanbox demo * fix: hide stackblitz * fix: revert rspack * fix: test bug * fix: delete console * fix: import dayjs locale --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.npmignore | ||
client.d.ts | ||
client.js | ||
package.json | ||
README.md | ||
server.d.ts | ||
server.js |
SMS Auth
提供短信登录认证功能。
依赖
@nocobase/auth
认证插件,提供认证相关功能,表、模型、函数复用等。@nocobase/plugin-verification
验证码插件,提供短信发送功能。
使用方法
新增验证码Provider
插件设置 - Verification/验证码
新增一个Provider, 并设置为默认方式。
新增SMS认证器
插件设置 - Authentication/认证
新增,选择认证类型为SMS,新增一个Authenticator。
效果如图: