test/test_app/app/controllers/api/v1/api_controller.rb in arcadex-1.2.0 vs test/test_app/app/controllers/api/v1/api_controller.rb in arcadex-1.2.1

- old
+ new

@@ -28,11 +28,11 @@ end end def set_hash #["current_owner","current_token"] Make this true to check for email also - @instance_hash = ::Arcadex::Authentication.get_instance(params,request,"Auth-Token") - #@instance_hash = ::Arcadex::Authentication.authenticate_owner_with_index(params,request,"Auth-Token","Email","email") + #@instance_hash = ::Arcadex::Authentication.get_instance(params,request,"Auth-Token") + @instance_hash = ::Arcadex::Authentication.authenticate_owner_with_index(params,request,"Auth-Token","Email","email") end def current_user if !@instance_hash.nil? return @instance_hash["current_owner"] \ No newline at end of file