]> source.dussan.org Git - gitea.git/commit
Properly fix displaying virtual session provider in admin panel (#9137)
authorzeripath <art27@cantab.net>
Thu, 28 Nov 2019 17:35:41 +0000 (17:35 +0000)
committertechknowlogick <techknowlogick@gitea.io>
Thu, 28 Nov 2019 17:35:41 +0000 (12:35 -0500)
commit54dab5aed999c1c3c0dd247de54a9cc2f9e6ebef
treedc9ccb097bb75a758cdfa01ba1714e3aac32893f
parent3bdce82ce97299beb542fd90f5cc21caad302e08
Properly fix displaying virtual session provider in admin panel (#9137)

* Properly fix #7127

Although #7300 properly shadows the password from the virtual session
provider, the template displaying the provider config still presumed
that the config was JSON.

This PR updates the template and properly hides the Virtual Session
provider.

Fixes #7127

* update per @silverwind's suggestion
routers/admin/admin.go
templates/admin/config.tmpl