From e0140672f1fb7c79e47aadad6fbee57e7262b1a2 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 5 Feb 2017 21:58:04 -0500 Subject: Purge old content --- examples/class/controller.class.php | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'examples/class/controller.class.php') diff --git a/examples/class/controller.class.php b/examples/class/controller.class.php index 0ab1a69..3e05812 100644 --- a/examples/class/controller.class.php +++ b/examples/class/controller.class.php @@ -1,25 +1,5 @@ redirectTo("http://" . $_SERVER['SERVER_NAME'] . $this->ap()); } - - /* - * Security check - * Assert that the client's IP address does not change during its session. If a change is detected, logout. - */ - function sec_verify_ip() - { - $addr = $_SERVER['REMOTE_ADDR']; - - if ($this->getCurrentUser() && $addr != $this->getOriginIP()) - { - $this->setCurrentUser(); - $this->redirectTo($this->ar() . "/"); - } - } } ?> -- cgit v1.2.3