parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 $context["user"] = $this->getAttribute(($context["grav"] ?? null), "user", []); // line 2 echo " "; // line 3 if (($this->getAttribute(($context["user"] ?? null), "username", []) && $this->getAttribute(($context["user"] ?? null), "authenticated", []))) { // line 4 echo " "; if (( !$this->getAttribute(($context["user"] ?? null), "authorized", []) && $this->getAttribute(($context["user"] ?? null), "twofa_enabled", []))) { // line 5 echo " "; $this->loadTemplate("partials/login-twofa.html.twig", "login.html.twig", 5)->display($context); // line 6 echo " "; } else { // line 7 echo " "; $this->loadTemplate("partials/login-logout.html.twig", "login.html.twig", 7)->display($context); // line 8 echo " "; } } else { // line 10 echo " "; $this->loadTemplate("partials/login-form.html.twig", "login.html.twig", 10)->display($context); } } public function getTemplateName() { return "login.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 53 => 10, 49 => 8, 46 => 7, 43 => 6, 40 => 5, 37 => 4, 35 => 3, 32 => 2, 30 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{% set user = grav.user %} {% if user.username and user.authenticated %} {% if not user.authorized and user.twofa_enabled %} {% include 'partials/login-twofa.html.twig' %} {% else %} {% include 'partials/login-logout.html.twig' %} {% endif %} {% else %} {% include 'partials/login-form.html.twig' %} {% endif %}", "login.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/admin/themes/grav/templates/login.html.twig"); } }