Skip to content

Commit

Permalink
Change return of getLoginUrl to relative URL
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Feb 26, 2014
1 parent e18195a commit 329960c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/components/auth_module.php
Expand Up @@ -189,7 +189,7 @@ function redirectToLogin($url = null) {
* @return string the login URL
*/
function getLoginUrl() {
return Router::url(array('plugin' => 'guard', 'controller' => 'guard', 'action' => 'login'), true);
return Router::url(array('plugin' => 'guard', 'controller' => 'guard', 'action' => 'login'), false);
}

/**
Expand Down

0 comments on commit 329960c

Please sign in to comment.