Skip to content

Commit

Permalink
Update database.php
Browse files Browse the repository at this point in the history
Add domain_uuid to the SQL select statement.
  • Loading branch information
markjcrane authored Oct 27, 2020
1 parent 1675da0 commit c0e0cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/authentication/resources/classes/plugins/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function database() {
$user_authorized = false;

//check the username and password if they don't match then redirect to the login
$sql = "select u.user_uuid, u.contact_uuid, u.username, u.password, u.salt, u.api_key, d.domain_name ";
$sql = "select u.user_uuid, u.contact_uuid, u.username, u.password, u.salt, u.api_key, u.domain_uuid, d.domain_name ";
$sql .= "from v_users as u, v_domains as d ";
$sql .= "where u.domain_uuid = d.domain_uuid ";
if (strlen($this->key) > 30) {
Expand Down

0 comments on commit c0e0cd3

Please sign in to comment.