{"action":"created","issue":{"url":"https://api.github.com/repos/privacyidea/privacyidea/issues/575","repository_url":"https://api.github.com/repos/privacyidea/privacyidea","labels_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/575/comments","events_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/575/events","html_url":"https://github.com/privacyidea/privacyidea/issues/575","id":196981920,"number":575,"title":"On validate_check event (notification handler), testing token_locked == true prevents tokens from beeing locked","user":{"login":"berndnicklas","id":4263918,"avatar_url":"https://avatars.githubusercontent.com/u/4263918?v=3","gravatar_id":"","url":"https://api.github.com/users/berndnicklas","html_url":"https://github.com/berndnicklas","followers_url":"https://api.github.com/users/berndnicklas/followers","following_url":"https://api.github.com/users/berndnicklas/following{/other_user}","gists_url":"https://api.github.com/users/berndnicklas/gists{/gist_id}","starred_url":"https://api.github.com/users/berndnicklas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berndnicklas/subscriptions","organizations_url":"https://api.github.com/users/berndnicklas/orgs","repos_url":"https://api.github.com/users/berndnicklas/repos","events_url":"https://api.github.com/users/berndnicklas/events{/privacy}","received_events_url":"https://api.github.com/users/berndnicklas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-21T16:55:55Z","updated_at":"2016-12-22T10:00:03Z","closed_at":null,"body":"# Versions\r\n\r\nprivacyIDEA: 2.17dev\r\n\r\nInstallation method:\r\n\r\n- from source / github\r\n- Debian\r\n- NGINX / UWSGI\r\n- PostgreSQL\r\n\r\n# What did you try to do? / What outcome did you experience?\r\n\r\nSetting up an notification event for validate_check event with a check for token_locked == true a notification is successfully sent, but the token is not locked. The fail counter is correctly raised to max fail.\r\n\r\n# What outcome did you expect?\r\n\r\nToken should be locked. Or should this be done via Token handler and \"disable\" action?"},"comment":{"url":"https://api.github.com/repos/privacyidea/privacyidea/issues/comments/268763439","html_url":"https://github.com/privacyidea/privacyidea/issues/575#issuecomment-268763439","issue_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/575","id":268763439,"user":{"login":"berndnicklas","id":4263918,"avatar_url":"https://avatars.githubusercontent.com/u/4263918?v=3","gravatar_id":"","url":"https://api.github.com/users/berndnicklas","html_url":"https://github.com/berndnicklas","followers_url":"https://api.github.com/users/berndnicklas/followers","following_url":"https://api.github.com/users/berndnicklas/following{/other_user}","gists_url":"https://api.github.com/users/berndnicklas/gists{/gist_id}","starred_url":"https://api.github.com/users/berndnicklas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berndnicklas/subscriptions","organizations_url":"https://api.github.com/users/berndnicklas/orgs","repos_url":"https://api.github.com/users/berndnicklas/repos","events_url":"https://api.github.com/users/berndnicklas/events{/privacy}","received_events_url":"https://api.github.com/users/berndnicklas/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T10:00:03Z","updated_at":"2016-12-22T10:00:03Z","body":"Ok, the tokens won't be locked, even with the above mentioned event disabled."}}
{"actor":{"display_login":"berndnicklas"}}