mirror of
https://github.com/go-gitea/gitea
synced 2025-11-02 04:18:25 +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>