feat: add security related settings

This commit is contained in:
Steven
2024-08-28 23:46:06 +08:00
parent 4e5810e205
commit 1167df29d8
16 changed files with 377 additions and 359 deletions

View File

@ -36,6 +36,10 @@ message WorkspaceSetting {
}
message WorkspaceGeneralSetting {
// disallow_signup disallows signup for new users.
bool disallow_signup = 1;
// disallow_password_signin disallows user to sign in with password. Except for the admins.
bool disallow_password_signin = 2;
// additional_script is the additional script.
string additional_script = 3;
// additional_style is the additional style.