Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MMF changed login form fields

  • Loading branch information...
commit 538754be7da2e4bbb18d3118671ca2e2d1321ff3 1 parent bc9fada
@mlt authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/web/mmf.py
View
5 src/web/mmf.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.