Autologin not working


(zapp) #1

Hi there,

I set up Piwik and everything works fine exept the autologin feature. When I provide the string form the faq it simply says: “Username and password incorrect”.

I use this string:
/pathpiwik/index.php?module=Login&action=logme&login=your_login&password=your_MD5_password

For “your_login” I provide the username of the Piwik user
For “your_MD5_password” I provide the MD5 Hash of the pw I assigned to the user

Am I doing something wrong? This doesn’t seem awfully complicated, but it simply won’t work.

Thanks for your help!

Florian

P.S.: Normal login with this user with the interface works fine.


(cbartolain) #2

I am having the same issue - I am assuming the md5_password should be the token_authentication when viewing users?

If this is not correct, please let me know…


(vipsoft) #3

Just to clarify:

Yes, this feature does work. (I just tested it.)

The password is the user’s md5 hashed password. You can look this up in the piwik_user table for that user. Note: It isn’t the same as token_auth, but they are related. (See plugins/UsersManager/API.php.)


(cbartolain) #4

Thank you! Works beautifully with the correct password style_emoticons/<#EMO_DIR#>/tongue.gif