Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[docs] Add a note about how to get the OTT on self hosted instance

Manav Rathia9c619614287
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts
index d6547e8102..74615621ee 100644
--- a/docs/docs/.vitepress/sidebar.ts
+++ b/docs/docs/.vitepress/sidebar.ts
@@ -89,6 +89,15 @@ export const sidebar = [
},
],
},
+ {
+ text: "FAQ",
+ items: [
+ {
+ text: "Verification code",
+ link: "/self-hosting/faq/otp",
+ },
+ ],
+ },
{
text: "Troubleshooting",
items: [
diff --git a/docs/docs/self-hosting/faq/otp.md b/docs/docs/self-hosting/faq/otp.md
new file mode 100644
index 0000000000..8cdbb169e2
--- /dev/null
+++ b/docs/docs/self-hosting/faq/otp.md
@@ -0,0 +1,19 @@
+---
+title: Verification code
+description: Getting the OTP for a self host Ente
+---
+
+# Verification code
+
+The self-hosted Ente by default does not send out emails, so you can pick the
+verification code by:
+
+* Getting it from the server logs, or
+
+* Reading it from the DB (otts table)
+
+You can also set pre-defined hardcoded OTTs for certain users when running
+locally by creating a `museum.yaml` and adding the `internal.hardcoded-ott`
+configuration setting to it. See
+[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml)
+in the server source code for details about how to define this.