src/snac/server/database/DBUser.php
/**
     * Check $passwd matches the password stored for \snac\data\User. Return true on success.
     *
     * Perhaps this won't be used in a world with OAuth.
     *
     * @param \snac\data\User $user The user object
     *
     * @param string $passwd A hashed password
     *
     * @return boolean Returns true if the password matches the database, false for any failure.
     */
Check $passwd matches the password stored for \snac\data\User. Return true on success.
Perhaps this won't be used in a world with OAuth.

@param \snac\data\User $user The user object

@param string $passwd A hashed password

@return boolean Returns true if the password matches the database, false for any failure.
Check $passwd matches the password stored for \ snac \ data \ User . Return true on success . Perhaps this won ' t be used in a world with OAuth . @param \ snac \ data \ User $user The user object @param string $passwd A hashed password @return boolean Returns true if the password matches the database false for any failure .
public function checkPassword($user, $passwd)
    {
        $appUserID = $this->sql->selectMatchingPassword($user->getUserID(), $passwd);
        if ($appUserID >= 1)
        {
            return true;
        }
        return false;
    }
public function checkPassword ( $ user , $ passwd ) { $ appUserID = $ this -> sql -> selectMatchingPassword ( $ user -> getUserID ( ) , $ passwd ) ; if ( $ appUserID >= 1 ) { return true ; } return false ; }
Check $passwd matches the password stored for \snac\data\User.
Check $passwd matches the password stored for \ snac \ data \ User .