diff --git a/src/application/controller/login.php b/src/application/controller/login.php index b0be07d..58114b0 100644 --- a/src/application/controller/login.php +++ b/src/application/controller/login.php @@ -54,7 +54,7 @@ if (isset($_POST) && $_POST) { if (!$errorUserName && !$errorUserPrivateKey) { // Check user exists - if ($_modelUserWallet->userNameExists($userName)) { + if ($_modelUser->userNameExists($userName)) { if ($_twister->importWallet($userName, $userPrivateKey)) { diff --git a/src/application/model/user/wallet.php b/src/application/model/user.php similarity index 90% rename from src/application/model/user/wallet.php rename to src/application/model/user.php index 3432a43..bec51af 100644 --- a/src/application/model/user/wallet.php +++ b/src/application/model/user.php @@ -1,6 +1,6 @@