Skip to main content

How to enable Two Factor Authentication

info

this feature is available since version 1.0.0-beta.48

To enable support for Two Factor Authentication, add the following to your .env file:

# ...

# string of 32 characters long.
# Generate one at: https://codebeautify.org/generate-random-string
ENCRYPTION_TOKEN=""

# ...
caution
Warning: When changing anything in the `.env` file, make sure to run the following steps:
  1. node scripts/copy-env.mjs --client --api
  2. yarn workspace @snailycad/client build

Read more here