Supports OAuth Providers that don't end connections neatly (Google!)

This commit is contained in:
ciaranj
2011-08-15 23:27:06 +01:00
parent 8ba869ff41
commit 0643395b2e
3 changed files with 57 additions and 14 deletions

4
lib/_utils.js Normal file

@ -0,0 +1,4 @@
// Returns true if this is a host that closes *before* it ends?!?!
module.exports.isAnEarlyCloseHost= function( hostName ) {
return hostName.match(".*google.com$")
}