]> source.dussan.org Git - gitea.git/commit
Prevent panic in serv.go with Deploy Keys (#17434) (#17435)
authorzeripath <art27@cantab.net>
Mon, 25 Oct 2021 23:24:29 +0000 (00:24 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 23:24:29 +0000 (01:24 +0200)
commitdd1ba34ee5dadbd77b05de4df2e01605d056c552
tree728de3c39e82cad2252174fd718589a789195bd4
parent1fbdf96c34935efca515fdabb060902254885302
Prevent panic in serv.go with Deploy Keys (#17434) (#17435)

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>
routers/private/serv.go