]> source.dussan.org Git - gitea.git/commit
Prevent panic in serv.go with Deploy Keys (#17434)
authorzeripath <art27@cantab.net>
Mon, 25 Oct 2021 23:24:19 +0000 (00:24 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 23:24:19 +0000 (01:24 +0200)
commit849356deaf204c3f3f186d7fffb2520e1980f46f
tree87c5139929dad762612e6c178096791404967f7a
parent0277603878a04ca66ca525bf0e53afb0c16ee116
Prevent panic in serv.go with Deploy Keys (#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