From 41ecc3ba6fc93177a7cb68b750e026c380f54375 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sat, 8 Aug 2015 15:19:21 -0600 Subject: [PATCH] removed unused config options for login --- admin.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/admin.php b/admin.php index 41fe95d2..bb54c77f 100644 --- a/admin.php +++ b/admin.php @@ -94,11 +94,6 @@ class AdminPlugin extends Plugin // Only activate admin if we're inside the admin path. if (substr($this->uri->route(), 0, strlen($this->base)) == $this->base) { - // Change login behavior. - $this->config->set('plugins.login', $this->config->get('plugins.admin.login')); - $this->config->set('plugins.login.session.path', $this->uri->rootUrl(false) . $this->base); - $this->config->set('plugins.login.session.name', 'grav_admin'); - $this->active = true; } }