Enclavet
2015-09-12 1fdee845d5028b84239e8551f42fc1a69e89a536
Enigma: fix storing password for whole session
1 files modified
6 ■■■■■ changed files
plugins/enigma/lib/enigma_engine.php 6 ●●●●● patch | view | raw | blame | history
plugins/enigma/lib/enigma_engine.php
@@ -1075,8 +1075,10 @@
            $config = $this->rc->decrypt($config);
            $config = @unserialize($config);
        }
        $threshold = time() - $this->password_time;
        if($this->password_time) {
            $threshold = time() - $this->password_time;
        }
        $keys      = array();
        // delete expired passwords