Cannot delete user by CLI

I am running a self hosted instance (v.1.0.0) on Windows 11 and I am having issues deleting a user using the CLI.

vikunja user delete 9 --now
time=2026-03-02T13:17:54.072+01:00 level=INFO msg=“Using config file: config.yml”
time=2026-03-02T13:17:54.149+01:00 level=INFO msg=“Running migrations…”
time=2026-03-02T13:17:54.575+01:00 level=INFO msg=“Ran all migrations successfully.”
time=2026-03-02T13:17:54.581+01:00 level=INFO msg=“Mailer is disabled, not sending reminders per mail”
time=2026-03-02T13:17:54.581+01:00 level=INFO msg=“Mailer is disabled, not sending overdue per mail”
You requested to delete the user immediately. Are you sure?
To confirm, please type “yes, I confirm” in all uppercase:
YES, I CONFIRM
time=2026-03-02T13:18:02.271+01:00 level=ERROR msg=“invalid confirmation message”

Looking at the code it looks exactly like the phrase it is expecting:

if text != “YES, I CONFIRM\n” {
log.Fatalf(“invalid confirmation message”)
}

Does this have something to do with the newline char being interpreted in a different way?


Updated to 2.1.0 and the issue persists.


I can confirm that it is the newline char on Windows that causes the issue. I have opened a PR for this: