Aleksander Machniak
2015-09-13 a8510bc5cafd8e1045d12b2d0666cda1d8af72e0
Merge pull request #297 from Enclavet/master

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