Skip to content

Commit

Permalink
[WC] Fixed warchall usernames which are problematic. (thx wheel)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricerbot committed Oct 31, 2016
1 parent 565edda commit a954afa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/module/Audit/ruth/cron_adduser.php
Expand Up @@ -36,6 +36,10 @@ function getUID($username)
continue;
}

if ($username == 'wheel') {
$username .= '2';
}

$create = false;
$crypt_pass = escapeshellarg($row['password']);

Expand Down

0 comments on commit a954afa

Please sign in to comment.