diff options
author | Yaohan Chen <yaohan.chen@gmail.com> | 2014-04-01 10:45:28 -0400 |
---|---|---|
committer | Yaohan Chen <yaohan.chen@gmail.com> | 2014-04-01 10:45:28 -0400 |
commit | 4bee69cb5c9a5260b706f769f175818b322f5d26 (patch) | |
tree | 19fd670dd066d7d2384378a95fb824202d11cf29 /login.coffee | |
parent | 23fcf1acc62e0f32f479c12c1916b2b1dd922199 (diff) | |
download | hib-dlagent-4bee69cb5c9a5260b706f769f175818b322f5d26.tar.gz hib-dlagent-4bee69cb5c9a5260b706f769f175818b322f5d26.zip |
Remove the login function/script
The discover-url script can handle login by itself, so it saves time
to just skip visiting the login page.
Diffstat (limited to 'login.coffee')
-rw-r--r-- | login.coffee | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/login.coffee b/login.coffee deleted file mode 100644 index c129622..0000000 --- a/login.coffee +++ /dev/null @@ -1,12 +0,0 @@ -system = require 'system' -[_, login_page, username, password] = system.args - -util = require './util' -page = util.page - -page.open login_page, (status)-> - util.log "Opening login page: #{status}" - util.handle_login_captcha -> - phantom.exit() - , username, password - |