CSRF token depends on token being present

Lab solution for “CSRF token depends on token being present” from PortSwigger Web Security Academy