freewifi
Advanced tools
Comparing version 0.0.1 to 0.1.1
@@ -139,4 +139,3 @@ // Generated by CoffeeScript 1.4.0 | ||
FreeWifi.prototype._connectVerify = function(data, res, fn) { | ||
if (data.indexOf(this.options.successString === -1)) { | ||
console.log(data); | ||
if (-1 === data.indexOf(this.options.successString)) { | ||
return fn(true, 'Authentication error'); | ||
@@ -143,0 +142,0 @@ } else { |
{ | ||
"name": "freewifi", | ||
"version": "0.0.1", | ||
"version": "0.1.1", | ||
"description": "Connection to the FreeWifi network (by the french internet and mobile provider free.fr)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9608
169