Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(backend:auth): enable MFA by default
johaven4dfeac57ad6b
diff --git a/backend/src/authentication/auth.config.ts b/backend/src/authentication/auth.config.tsindex 7059b487..837544fa 100644--- a/backend/src/authentication/auth.config.ts+++ b/backend/src/authentication/auth.config.ts@@ -24,7 +24,7 @@ import { ACCESS_KEY, CSRF_KEY, REFRESH_KEY, WS_KEY } from './constants/auth'export class AuthMfaTotpConfig {@IsBoolean()- enabled = false+ enabled = true@IsString()issuer = SERVER_NAMEdiff --git a/docker/environment.yaml b/docker/environment.yamlindex 63793b00..d751a1eb 100755--- a/docker/environment.yaml+++ b/docker/environment.yaml@@ -4,6 +4,7 @@ server:mysql:url: mysql://root:MySQLRootPassword@mariadb:3306/sync_inauth:+ encryptionKey: changeEncryptionKeyWithStrongKeytoken:access:secret: changeAccessWithStrongSecretdiff --git a/environment/environment.dist.yaml b/environment/environment.dist.yamlindex 8b594601..161409c2 100755--- a/environment/environment.dist.yaml+++ b/environment/environment.dist.yaml@@ -80,8 +80,8 @@ auth:# totp configurationtotp:# enable TOTP authentication- # default: false- enabled: false+ # default: true+ enabled: true# name displayed in the authentication app (FreeOTP, Proton Authenticator, Aegis Authenticator etc.)# default: Sync-inissuer: Sync-in