$response = $consumer->complete(common_local_url('finishaddopenid'));
if ($response->status == Auth_OpenID_CANCEL) {
$response = $consumer->complete(common_local_url('finishaddopenid'));
if ($response->status == Auth_OpenID_CANCEL) {
return;
} else if ($response->status == Auth_OpenID_FAILURE) {
// Authentication failed; display the error message.
return;
} else if ($response->status == Auth_OpenID_FAILURE) {
// Authentication failed; display the error message.