{"action":"opened","issue":{"url":"https://api.github.com/repos/stormpath/idsite-src/issues/90","labels_url":"https://api.github.com/repos/stormpath/idsite-src/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/idsite-src/issues/90/comments","events_url":"https://api.github.com/repos/stormpath/idsite-src/issues/90/events","html_url":"https://github.com/stormpath/idsite-src/issues/90","id":120009592,"number":90,"title":"Password policy from correct directory not used when resetting password","user":{"login":"mattwigway","id":566958,"avatar_url":"https://avatars.githubusercontent.com/u/566958?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwigway","html_url":"https://github.com/mattwigway","followers_url":"https://api.github.com/users/mattwigway/followers","following_url":"https://api.github.com/users/mattwigway/following{/other_user}","gists_url":"https://api.github.com/users/mattwigway/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwigway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwigway/subscriptions","organizations_url":"https://api.github.com/users/mattwigway/orgs","repos_url":"https://api.github.com/users/mattwigway/repos","events_url":"https://api.github.com/users/mattwigway/events{/privacy}","received_events_url":"https://api.github.com/users/mattwigway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T18:46:23Z","updated_at":"2015-12-02T18:46:23Z","closed_at":null,"body":"When a user tries to reset their password, the password policy from the default account store directory is always used, even if that users' account is in a different directory. What this means is that a user can attempt to set a password that doesn't comply with their directory; the site will allow them to attempt this (i.e. client side validation will complete), and they then get a only somewhat helpful error afterwards:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/566958/11540471/f5a1cc4e-98fa-11e5-8578-efaa4cf58bd7.png)\r\n\r\nThis also means that if there is no default account store, one cannot reset a password."}}