Hi,

I'm using FOSUserBundle in my application. I would like to be able to
2 things via http services :

1. Check Password validity
This service would be for example. The password won't be encrypted :

public function checkPasswordValidity($userId, $password) {
    $user = $this->getDoctrine()->getRepository('MyCompany\UserBundle
\Entity\User')->find($userId);

    if (specialFunction($user , $password))
        echo 'Valid Password';
    else
         echo 'Invalid Password';

}


2. Create maually a user via ah http service

Thank you.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to