Skip to content

Commit

Permalink
Fix typo in password change code
Browse files Browse the repository at this point in the history
  • Loading branch information
bakert committed Dec 4, 2024
1 parent 369325c commit a748cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatherling/player.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function main(): never

// Handle actions
if ($action == 'changePassword') {
$result = changePassword($player, post()->string('oldPasssword', ''), post()->string('newPassword'), post()->string('newPassword2'));
$result = changePassword($player, post()->string('oldPassword', ''), post()->string('newPassword'), post()->string('newPassword2'));
} elseif ($action == 'editEmail') {
$result = editEmail($player, post()->string('newEmail'), post()->string('newEmail2'), post()->int('emailStatus'));
} elseif ($action == 'editAccounts') {
Expand Down

0 comments on commit a748cd7

Please sign in to comment.