From c50ec9b649dc95088e1b72e3f29f475f0a49d16f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 7 Oct 2024 06:54:43 -0600 Subject: [PATCH] Overwrite all fields --- frigate/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frigate/app.py b/frigate/app.py index 1d1ee10f3..992452d60 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -533,6 +533,7 @@ class FrigateApp: { User.username: "admin", User.password_hash: password_hash, + User.notification_tokens: [], } ).execute() @@ -549,7 +550,11 @@ class FrigateApp: password_hash = hash_password( password, iterations=self.config.auth.hash_iterations ) - User.replace(username="admin", password_hash=password_hash).execute() + User.replace( + username="admin", + password_hash=password_hash, + notification_tokens=[], + ).execute() logger.info("********************************************************") logger.info("********************************************************")