From 092e9767b3e9702d935148cad4fd0cddb14ce79f Mon Sep 17 00:00:00 2001 From: Kevin Leung Date: Thu, 11 Feb 2016 10:09:40 +0800 Subject: [PATCH] Void cannot be a return value in latest haxe --- src/ufront/auth/api/EasyAuthApi.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ufront/auth/api/EasyAuthApi.hx b/src/ufront/auth/api/EasyAuthApi.hx index 46761dc..fe591e6 100644 --- a/src/ufront/auth/api/EasyAuthApi.hx +++ b/src/ufront/auth/api/EasyAuthApi.hx @@ -69,8 +69,9 @@ class EasyAuthApi extends UFApi { Please note the session must be ready to use (having `HttpSession.init()` complete succesfully). It just removes the User ID from the session, effectively logging you out. **/ - public function logout():Void { + public function logout():Noise { easyAuth.endSession(); + return Noise; } /**