zpanel/zpanelx — pull request #206 by wernersmit (2014-05-04 19:46:34+00:00)
Title: Bug fix: Not retrieving correct salt for username with deleted accounts

When there are multiple usernames in the x_accounts table, the 1st entry is always selected with the current query. Query has been adjusted to select the record that has not been deleted by adding " AND ac_deleted_ts IS NULL" to the query.