{"action":"created","issue":{"url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/106","repository_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth","labels_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/106/comments","events_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/106/events","html_url":"https://github.com/emreakay/CodeIgniter-Aauth/issues/106","id":130004825,"number":106,"title":"check if passoword is correct","user":{"login":"SergiX44","id":4172890,"avatar_url":"https://avatars.githubusercontent.com/u/4172890?v=3","gravatar_id":"","url":"https://api.github.com/users/SergiX44","html_url":"https://github.com/SergiX44","followers_url":"https://api.github.com/users/SergiX44/followers","following_url":"https://api.github.com/users/SergiX44/following{/other_user}","gists_url":"https://api.github.com/users/SergiX44/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiX44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiX44/subscriptions","organizations_url":"https://api.github.com/users/SergiX44/orgs","repos_url":"https://api.github.com/users/SergiX44/repos","events_url":"https://api.github.com/users/SergiX44/events{/privacy}","received_events_url":"https://api.github.com/users/SergiX44/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-30T16:16:22Z","updated_at":"2016-05-05T15:13:01Z","closed_at":"2016-02-04T19:46:54Z","body":"how can i check if an entered password of a user is correct? I need to do a change passoword, the page will ask the current password, the new password and repeat of the new password. But how i can check if the current password is correct?"},"comment":{"url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/comments/217181356","html_url":"https://github.com/emreakay/CodeIgniter-Aauth/issues/106#issuecomment-217181356","issue_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/106","id":217181356,"user":{"login":"paulcanning","id":1275739,"avatar_url":"https://avatars.githubusercontent.com/u/1275739?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcanning","html_url":"https://github.com/paulcanning","followers_url":"https://api.github.com/users/paulcanning/followers","following_url":"https://api.github.com/users/paulcanning/following{/other_user}","gists_url":"https://api.github.com/users/paulcanning/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcanning/subscriptions","organizations_url":"https://api.github.com/users/paulcanning/orgs","repos_url":"https://api.github.com/users/paulcanning/repos","events_url":"https://api.github.com/users/paulcanning/events{/privacy}","received_events_url":"https://api.github.com/users/paulcanning/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T15:13:01Z","updated_at":"2016-05-05T15:13:01Z","body":"@REJack that is a terrible idea. If you want to let users change their password, you should assume they are already logged in. In that case, you can verify the current password by passing it to the `is_loggedin()` function possibly (or writing a similar function that simply returns true/false?"}}