mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-16 21:56:05 +00:00

Backport #17434 Unfortunately there was a regression in #17373 which missed that the user is not for deploy keys. This leads to a panic when pushing with deploy keys. Fix #17412 Signed-off-by: Andrew Thornton <art27@cantab.net>