From 0323ed70373384b5e15802e8ee4ababd6bf502c7 Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 14 May 2024 11:23:59 +0530 Subject: [PATCH] [UPDT] BASE: Setting password to bot user --- base/management/commands/createhorillauser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/management/commands/createhorillauser.py b/base/management/commands/createhorillauser.py index 28a3e732b..4fe50054e 100644 --- a/base/management/commands/createhorillauser.py +++ b/base/management/commands/createhorillauser.py @@ -1,3 +1,5 @@ +import uuid + from django.contrib.auth.models import User from django.core.management.base import BaseCommand, CommandError @@ -50,7 +52,7 @@ class Command(BaseCommand): if bot is None: User.objects.create_user( username="Horilla Bot", - password="#HorillaBot!!(*&*&^(33))", + password=str(uuid.uuid4()), ) self.stdout.write(