Skip to content

Commit 48f698f

Browse files
committed
Update ExtAuthComponent.php
It seem like Router::Url('/') already return the trailing slash for the base url. This code make it so that there are 2 slash http://example.com//call_back.
1 parent 7b01563 commit 48f698f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Component/ExtAuthComponent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(ComponentCollection $collection, array $settings = a
4747
$this->settings = array_merge($this->settings, array(
4848

4949
// Default Settings
50-
'callbackURL' => Router::url('/', true).'/auth_callback/{PROVIDER}',
50+
'callbackURL' => Router::url('/', true).'auth_callback/{PROVIDER}',
5151
'sessionVariableRequestToken' => 'request_token',
5252
'sessionVariableAccessToken' => 'access_token',
5353

0 commit comments

Comments
 (0)