shish 6 år sedan
förälder
incheckning
52b2fa2360
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      app/mobile/controllers/AuthController.php

+ 1 - 0
app/mobile/controllers/AuthController.php

@@ -148,6 +148,7 @@ class AuthController extends PublicController
 		$token = jwt::get($sourceId, $userId);
 		$suffixUrl = strpos($suffixUrl, '?') === false ? $suffixUrl . '?token=' . $token : $suffixUrl . '&token=' . $token;
 		$url = $host . '/' . $suffixUrl;
+		echo $url;die;
 		$this->redirect($url);
 	}