This is an elegant plugin, thank you. Do you have a way to redirect if the condition is not met? Did you have the case that the condition is set before the response? In this case {% auth %} doesn't work.