wantsurl = $_GET['url']; } else { $SESSION->wantsurl = '/'; } $authplugin = get_auth_plugin('drupalservices'); $authplugin->loginpage_hook(); ?>