summaryrefslogtreecommitdiffstats
path: root/inc/validator.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-11-26 21:01:37 +0100
committerSimon Rettberg2014-11-26 21:01:37 +0100
commit177791970ee86a6653b051ee393801ad37134d70 (patch)
tree696fd696c89d4d587365fa7172ab0e184e183f07 /inc/validator.inc.php
parentAdd HTTPS config module for webif, update everything to use FileUtil class, m... (diff)
downloadslx-admin-177791970ee86a6653b051ee393801ad37134d70.tar.gz
slx-admin-177791970ee86a6653b051ee393801ad37134d70.tar.xz
slx-admin-177791970ee86a6653b051ee393801ad37134d70.zip
Lots of small bugfixes, proxy config WIP, https config WIP, translation updates, added masterpassword to pxe menu, ...
Diffstat (limited to 'inc/validator.inc.php')
-rw-r--r--inc/validator.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/validator.inc.php b/inc/validator.inc.php
index 944ac2ef..20b843d7 100644
--- a/inc/validator.inc.php
+++ b/inc/validator.inc.php
@@ -40,7 +40,7 @@ class Validator
{
if (empty($value))
return '';
- if (preg_match('/^\$6\$.+\$./', $value))
+ if (preg_match('/^\$[156]\$.+\$./', $value))
return $value;
return Crypto::hash6($value);
}