Skip to content
Snippets Groups Projects
Commit 64bb3eb1 authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

Fixed password changing

parent 9ab2cbf2
Branches
Tags
No related merge requests found
......@@ -65,7 +65,7 @@ class Model_Account extends Model
public static function changeAccountData($accountID, $newPassword) {
$sql = 'SELECT `ChangeAccountData`(:account, :value, "pass") AS Num';
$sql = 'SELECT `ChangeAccountData`(:account, :value, "password") AS Num';
return DB::query(Database::SELECT, $sql)
->parameters([
':account' => $accountID,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment