docs: Add warning that DB will be cleared if creds are reset

This commit is contained in:
Shreya Malviya 2021-09-28 13:18:27 +05:30 committed by VakarisZ
parent 6fe4d6cb31
commit 1e02ab6d2b
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@ When you first access the Monkey Island server, you'll be prompted to create an
To reset the credentials, edit the `server_config.json` file manually
(located in the [data directory](/reference/data_directory)).
{{% notice warning %}}
If you reset the credentials, the database will be cleared. Any findings of the Infection Monkey from previous runs will be lost. <br/><br/>
However, you can save the Monkey's exisiting configuration by logging in with your current credentials and clicking on the **Export config** button on the configuration page.
{{% /notice %}}
In order to reset the credentials, the following edits need to be made:
1. Delete the `user` field. It will look like this:
```json