Permalink
Browse files

Small fix for login

  • Loading branch information...
Anton Dubina authored and niels committed Mar 23, 2010
1 parent e8f907f commit c52fa71f1702c213775a16cc4c9af61f7577d07d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/contacts/livejournal.rb
@@ -8,7 +8,7 @@ class Livejournal < Base
PROTOCOL_ERROR = "Livejournal.com has changed its protocols, please upgrade this library first."
def real_connect
- postdata = "user=#{CGI.escape(login.split('@')[0].to_s)}&password=#{CGI.escape(password.to_s)}"
+ postdata = "user=#{CGI.escape(login.to_s)}&password=#{CGI.escape(password.to_s)}"
data, resp, cookies, forward = post(LOGIN_URL, postdata)
old_url = LOGIN_URL

0 comments on commit c52fa71

Please sign in to comment.