From f845f546547636bd53a60d7f452852d8b7abac55 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Sat, 18 May 2024 20:32:27 -0400 Subject: [PATCH 1/2] Add info note to default creds file --- main.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index fd84328b..617fe5f4 100644 --- a/main.py +++ b/main.py @@ -367,7 +367,15 @@ if __name__ == "__main__": encoding="utf-8", ) as cred_file: cred_file.write( - json.dumps({"username": "admin", "password": PASSWORD}, indent=4) + json.dumps( + { + "username": "admin", + "password": PASSWORD, + "info": "This is NOT where you change your password." + " This file is only a means to give you a default password.", + }, + indent=4, + ) ) os.chmod( os.path.join(APPLICATION_PATH, "app", "config", "default-creds.txt"), 0o600 From 12d516a48d8248de6ef024864f8ec5822a227b54 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Sun, 23 Jun 2024 14:55:33 +0100 Subject: [PATCH 2/2] Update changelog !760 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 298d53d4..7d6b7d78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ TBD ### Bug fixes TBD ### Tweaks -TBD +- Add info note to default creds file ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/760)) ### Lang - Add remaining `he_IL`, `th_TH` translations for 4.4.0 Release ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/761))