removed unused config options for login

This commit is contained in:
Andy Miller
2015-08-08 15:19:21 -06:00
parent 00a4c71455
commit 41ecc3ba6f

View File

@@ -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;
}
}