SAIC-iSmart-API / saic-home-assistant-addon

SAIC-iSmart-API repository for Home Assistant OS (HASS.IO)
MIT License
58 stars 6 forks source link

Password invalid, max password length not honored #18

Closed DCSBL closed 1 year ago

DCSBL commented 1 year ago

In the iOS app there is (frustratingly) a password length limit of 16 characters.

My password manager had a longer password stored, but when it auto fills it apparently truncates the rest. This addon allows longer password and then it yells that my password is invalid (which it is).

I think it it nice to keep somehow warn the user if they enter a longer password. But I am not sure where we may add that.

tisoft commented 1 year ago

Just for reference, this is the regex the app checks for passwords: ^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$