Skip to content

Commit 48e3ae0

Browse files
committed
docs(api-server): update admin email environment variable warning
- Remove redundant tip about changing admin email - Add caution about email delivery issues when admin email is the same as DEFAULT_SENDER_EMAIL - Explain potential problems with email services like SendGrid - Emphasize using a different admin email for reliable access
1 parent 37dfb30 commit 48e3ae0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/content/docs/api-server/guides/configure-environment-variables.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ This variable provides a powerful and secure way to set or recover the applicati
9595
- **If no admin exists:** A new administrator account will be created with this email.
9696
- **If an admin with a DIFFERENT email exists:** The old admin account will be removed and replaced by a new one with this email. All associated data for the old admin will be deleted.
9797
- **If an admin with this email already exists:** No changes will be made.
98-
99-
<Aside type="tip" title="How to Change Your Admin Email">
100-
To change or recover the main administrator account, set this environment variable to the desired email address and restart the server. The system will handle the update automatically.
98+
<Aside type="caution" title="Email Delivery Note">
99+
Be aware that if the administrator's email is the same as the `DEFAULT_SENDER_EMAIL`, you may not receive the OTP email required for login. Some email services, including SendGrid, can prevent an address from sending an email to itself. For reliable administrator access, it is recommended to use an admin email that is different from your verified sender email.
101100
</Aside>
102101

103102
### Optional Variables

0 commit comments

Comments
 (0)