steedos-platform/packages/accounts/steedos-config.yml
2021-12-27 08:06:17 +00:00

44 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

datasources:
default:
connection:
url: ${MONGO_URL}
objectFiles:
- ./src/**
tenant:
_id:
name: 华炎魔方
logo_url:
background_url:
enable_register: true
enable_bind_mobile: false
enable_bind_email: false
enable_forget_password: true
enable_create_tenant: true
saas: false
enable_password_login: true
enable_mobile_code_login: true
enable_email_code_login: true
-email:
url: ${MAIL_URL}
from: ${MAIL_FROM}
password:
minimum_length: 10
lowercase: true
number: true
uppercase: true
symbol: true
policy: ^(?=.*[A-Z])(?![a-z]+$)(?![^A-Za-z0-9]+$)(?!\d+$)\S{8,}$
policyError: 密码必须包含字符、数字和字母并至少有一个大写字母且不能少于8位
notifyUserAfterPasswordChanged: false
sendVerificationEmailAfterSignup: true
-accounts:
mobile_phone_locales: ['zh-CN']
webservices:
steedos: http://127.0.0.1:5000/
plugins:
-sms:
qcloud:
smsqueue_interval: 1000
sdkappid: ${ENV_SMS_QCLOUD_SDKAPPID}
appkey: ${ENV_SMS_QCLOUD_APPKEY}
signname: ${ENV_SMS_QCLOUD_SIGNNAME}