{"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/comments/11424245","html_url":"https://github.com/yiisoft/yii2/commit/0f04af1af9306e4c7da0e0fcf1d912da966e3e0f#commitcomment-11424245","id":11424245,"user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"position":60,"line":1290,"path":"framework/helpers/BaseHtml.php","commit_id":"0f04af1af9306e4c7da0e0fcf1d912da966e3e0f","created_at":"2015-05-29T10:09:26Z","updated_at":"2015-05-29T10:09:26Z","body":"This matter is up to devloper.\r\nMax password length may have a restriction. It depends on the way it password value is stored.\r\nIf you use encryption (not hashing) for the password field (or other security key, which input should be masked) the length of encrypted text depends on length of the source text. If you will to save the encryption result in `varchar(255)`, you will have to set input maxlength restriction.\r\n\r\nI suppose the change can remain. If developer wishes to make his program inconsistent - it is his choice. He will set 'maxlegth' on password field anyway."}}