{"action":"created","issue":{"url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/23","labels_url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/23/comments","events_url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/23/events","html_url":"https://github.com/hrevert/HtUserRegistration/issues/23","id":61297519,"number":23,"title":"users can login without confirmation","user":{"login":"ellipee","id":8041528,"avatar_url":"https://avatars.githubusercontent.com/u/8041528?v=3","gravatar_id":"","url":"https://api.github.com/users/ellipee","html_url":"https://github.com/ellipee","followers_url":"https://api.github.com/users/ellipee/followers","following_url":"https://api.github.com/users/ellipee/following{/other_user}","gists_url":"https://api.github.com/users/ellipee/gists{/gist_id}","starred_url":"https://api.github.com/users/ellipee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellipee/subscriptions","organizations_url":"https://api.github.com/users/ellipee/orgs","repos_url":"https://api.github.com/users/ellipee/repos","events_url":"https://api.github.com/users/ellipee/events{/privacy}","received_events_url":"https://api.github.com/users/ellipee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T23:36:46Z","updated_at":"2015-03-14T09:11:05Z","closed_at":null,"body":"i create a test registration and to my surprise i was able to login without confirming the registration email. how do i solve this issue\r\n"},"comment":{"url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/comments/80191105","html_url":"https://github.com/hrevert/HtUserRegistration/issues/23#issuecomment-80191105","issue_url":"https://api.github.com/repos/hrevert/HtUserRegistration/issues/23","id":80191105,"user":{"login":"ojhaujjwal","id":4995501,"avatar_url":"https://avatars.githubusercontent.com/u/4995501?v=3","gravatar_id":"","url":"https://api.github.com/users/ojhaujjwal","html_url":"https://github.com/ojhaujjwal","followers_url":"https://api.github.com/users/ojhaujjwal/followers","following_url":"https://api.github.com/users/ojhaujjwal/following{/other_user}","gists_url":"https://api.github.com/users/ojhaujjwal/gists{/gist_id}","starred_url":"https://api.github.com/users/ojhaujjwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojhaujjwal/subscriptions","organizations_url":"https://api.github.com/users/ojhaujjwal/orgs","repos_url":"https://api.github.com/users/ojhaujjwal/repos","events_url":"https://api.github.com/users/ojhaujjwal/events{/privacy}","received_events_url":"https://api.github.com/users/ojhaujjwal/received_events","type":"User","site_admin":false},"created_at":"2015-03-14T09:11:05Z","updated_at":"2015-03-14T09:11:05Z","body":"As stated in the docs, you need to add an authentication adapter! Something like this:\r\n```php\r\nreturn [\r\n    'zfcuser' => [\r\n        'auth_adapters' => [80 => 'HtUserRegistration\\Authentication\\Adapter\\EmailVerification']\r\n    ]\r\n];\r\n```"}}