diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-17 03:16:16 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-17 03:16:16 +0000 |
commit | c22b520e467e24fef339b2ae31a3bb214ca42e8a (patch) | |
tree | 53820b65c3129c576174bfecfa68343315066e7a /modules/openid | |
parent | 65654b29e8987f8c2a58fcb5e6dc090d80827887 (diff) | |
download | brdo-c22b520e467e24fef339b2ae31a3bb214ca42e8a.tar.gz brdo-c22b520e467e24fef339b2ae31a3bb214ca42e8a.tar.bz2 |
#365597 by mfb, Jody Lynn: Don't show access denied when logging in via OpenID to user/login.
Diffstat (limited to 'modules/openid')
-rw-r--r-- | modules/openid/openid.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module index 79be321f6..0facb8ebd 100644 --- a/modules/openid/openid.module +++ b/modules/openid/openid.module @@ -121,7 +121,7 @@ function _openid_user_login_form_alter(&$form, &$form_state) { '#weight' => -1, '#description' => l(t('What is OpenID?'), 'http://openid.net/', array('external' => TRUE)), ); - $form['openid.return_to'] = array('#type' => 'hidden', '#value' => url('openid/authenticate', array('absolute' => TRUE, 'query' => drupal_get_destination()))); + $form['openid.return_to'] = array('#type' => 'hidden', '#value' => url('openid/authenticate', array('absolute' => TRUE, 'query' => user_login_destination()))); } /** |