Reset password
Aesistril opened this issue · 2 comments
Aesistril commented
How can I reset my password? The reset password button doesn't work because I didn't setup an SMTP server. I have full access to the server running shynet
haaavk commented
- Open bash inside docker image (
docker exec -it CONTAINER_ID bash
) - Open django interactive shell (
python manage.py shell
) - Import user model (
from core.models import User
) - Select user (
u = User.objects.filter(email='USER_EMAIL').first()
) - Change password (
u.set_password('NEW_PASSWORD')
) - Save changes (
u.save()
)