Hide the MSP block when the nomsp parameter is present in the URL (old behaviour broken)
This commit is contained in:
parent
676787f45f
commit
25d483e551
|
@ -16,6 +16,8 @@ class MspFrontend(object):
|
|||
return 'msp'
|
||||
|
||||
def login(self, request, *args, **kwargs):
|
||||
if 'nomsp' in request.GET:
|
||||
return
|
||||
context_instance = kwargs.pop('context_instance', None)
|
||||
return render(request, 'authentic2_auth_msp/login.html',
|
||||
context_instance=context_instance)
|
||||
|
|
Reference in New Issue