Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

inconsistency in login string length #522

Closed
mattab opened this Issue · 3 comments

2 participants

@mattab
Owner

Table "piwik_user_dashboard" has got a login-attribute, which is limited to 20 chars. I’ve set up an username with more than 20 chars and therefore the login-value was cut to 20 chars and I couldn’t change any settings in the dashboard. I went to phpMyAdmin and changed the login-attribute to 60 chars.

Piwik should throw an error if someone tries to setup an user with more than 20 chars or you should raise the char-length in the database.

Solution: we should make sure that login is restricted to the same length in the mysql tables (60 chars), and that it’s properly checked against when creating a new user.

@mattab
Owner

fixed in 941 all login fields are now consistently restricted to maximum 100 characters string length + bundling DB updates

@robocoder

The change wasn't applied to core/Piwik.php, so fresh installs after 0.2.32 still create 20 character login fields.

@robocoder

(In [1349]) fixes #522 - inconsistency in login string length

(update script to be addressed in #894)

@mattab mattab added this to the Piwik 0.4.3 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.