Permalink
Browse files

MMF changed login form fields

  • Loading branch information...
1 parent bc9fada commit 538754be7da2e4bbb18d3118671ca2e2d1321ff3 @mlt committed Dec 9, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/web/mmf.py
View
@@ -52,9 +52,8 @@ def login(self):
if self.logged_in: return
if self.login_invalid: raise InvalidLogin()
- payload = { 'username_login': self.username,
- 'password_login': self.password,
- 'action_type': 'login' }
+ payload = { 'email': self.username,
+ 'password': self.password }
url = "http://{:s}/auth/login/".format(self.url)
r = requests.get(url)
# post login credentials

0 comments on commit 538754b

Please sign in to comment.