forgejo/routers/web
zeripath d7f12af805
Prevent NPE if trying to restore an already restored deleted branch (#21940)
If a deleted-branch has already been restored, a request to restore it
again will cause a NPE. This PR adds detection for this case, but also
disables buttons when they're clicked in order to help prevent
accidental repeat requests.

Fix #21930

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-25 20:58:20 +00:00
..
admin Revert unrelated changes for SMTP auth (#21767) 2022-11-10 16:12:23 -05:00
auth
events
explore
feed
healthcheck
misc
org
repo Prevent NPE if trying to restore an already restored deleted branch (#21940) 2022-11-25 20:58:20 +00:00
shared/packages
user
auth.go
auth_windows.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go
webfinger.go