Skip to content

Commit 37dfb30

Browse files
committed
docs(web-dashboard): update admin email management instructions
- Remove reference to API guide - Directly explain the process of changing admin email - Add step-by-step instructions for setting OVERRIDE_ADMIN_EMAIL - Include information about restarting the API server - Update Aside to provide additional context
1 parent 6dd208b commit 37dfb30

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/content/docs/web-dashboard/manuals/managing-admin-account.mdx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,20 @@ This process ensures that only an individual with access to the server's deploym
1111

1212
### How to Change the Administrator Email
1313

14-
The administrator email is controlled by a special environment variable on the API server. To change it, you or your system administrator will need to perform the following steps.
14+
To set or change the administrator email, you must modify the environment variables in your API server's hosting environment.
1515

16-
<Aside type="tip" title="Technical Steps Required">
17-
The following action requires access to your API server's hosting environment. For detailed, step-by-step instructions on how to set the required environment variable, please follow the guide below:
16+
1. **Set the `OVERRIDE_ADMIN_EMAIL` Variable**
17+
18+
In your hosting provider's configuration panel (or in your local `.env` file), set the `OVERRIDE_ADMIN_EMAIL` variable to the email address you want to use for the administrator account.
19+
20+
```env
21+
OVERRIDE_ADMIN_EMAIL="[email protected]"
22+
```
1823

19-
**[API Guide: How to Change the Admin Account &rarr;](/docs/api-server/guides/managing-admin-account/)**
20-
</Aside>
24+
2. **Restart the API Server**
25+
26+
After setting the variable, restart your API server. The system will automatically update the administrator account on startup.
2127

22-
By following the linked guide, you will be able to securely set or change the primary administrator account for your entire application.
28+
<Aside type="note">
29+
This process uses environment variables. For a detailed explanation of what these variables are and how `OVERRIDE_ADMIN_EMAIL` works, please see the [API Server: Configure Environment Variables](/docs/api-server/guides/configure-environment-variables/) guide.
30+
</Aside>

0 commit comments

Comments
 (0)