fix gitlab-ci using incorrect variables for docker access

This commit is contained in:
Jens Langhammer
2019-04-29 20:42:24 +02:00
parent e0d597eeac
commit 9bdbff4cda
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ class AdministrationOverviewView(AdminRequiredMixin, TemplateView):
template_name = 'administration/overview.html'
def post(self, *args, **kwargs):
"""Handle post (clear cache from modal)"""
if 'clear' in self.request.POST:
cache.clear()
return redirect(reverse('passbook_core:auth-login'))