diff --git a/src/Appwrite/Auth/Auth.php b/src/Appwrite/Auth/Auth.php index 9caf8a7c07..e45a03c6ff 100644 --- a/src/Appwrite/Auth/Auth.php +++ b/src/Appwrite/Auth/Auth.php @@ -254,7 +254,7 @@ class Auth $session->getAttribute('secret') === self::hash($secret) && $session->getAttribute('expire') >= Database::getCurrentDateTime() ) { - return (string)$session->getId(); + return $session->getId(); } }