Failed to update mirror repository: could not read username

Hi All,

I have been receiving the following message in admin notices. The username is correct. How do I fix it?

Failed to update mirror repository '/var/lib/gitea/data/gitea-repositories/username/reponame.git': fatal: could not read Username for 'https://github.com': terminal prompts disabled

Gitea version 1.20.1 built with GNU Make 4.1, go1.20.6 : bindata, sqlite, sqlite_unlock_notify

git version 2.43.0

References: