Permalink
Browse files

Change return of getLoginUrl to relative URL

  • Loading branch information...
xcompass committed Feb 26, 2014
1 parent e18195a commit 329960c13761bdfbd591251871aea5fb1c5bc540
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/components/auth_module.php
@@ -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);
}
/**

0 comments on commit 329960c

Please sign in to comment.