auth_openid_allow_account_change=='true'); $allow_append = ($config->auth_openid_allow_muliple=='true'); $user_is_openid = ($USER->auth == 'openid'); if ($USER->id > 0 && (($user_is_openid && $allow_append) || (!$allow_append && $allow_change))) { $endpoint = $CFG->wwwroot.'/mod/openid/actions.php'; } else { $endpoint = $CFG->wwwroot.'/login/index.php'; } $allow_change = ($config->auth_openid_allow_account_change=='true'); $allow_append = ($config->auth_openid_allow_muliple=='true'); ?>