Skip to content
This repository was archived by the owner on Apr 21, 2021. It is now read-only.

Commit 3892f74

Browse files
committed
Update UserController.php
1 parent 083ad33 commit 3892f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/App/Controllers/UserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function register_complete(Request $request, Response $response, array $a
7171
]);
7272
}
7373

74-
if ($this->preferences->getApiToken() != null) {
74+
if ($this->preferences->getApiToken() == null) {
7575
return $this->render($response, 'basic-page.twig', [
7676
'pageTitle' => "API Error",
7777
'content' => "Server did not receive a response...<br>check your ports, ip, settings,...Server\\resources\config\api.config.json should have the correct ip's and hosts set up.",

0 commit comments

Comments
 (0)