This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Telegraph
mirror of
https://github.com/aaronpk/Telegraph.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
use base URL from config for creating redirect URL
pull/9/head
Aaron Parecki
8 years ago
parent
dc9437a35d
commit
ede0a8bc8b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
controllers/Auth.php
+ 1
- 1
controllers/Auth.php
View File
@ -156,7 +156,7 @@ class Auth {
}
private
static
function
_buildRedirectURI
()
{
return
'http'
.
(
Config
::
$
ssl
?
's'
:
''
)
.
'
://'
.
$_SERVER
[
'SERVER_NAME'
]
.
'/
login/callback'
;
return
Config
::
$
base
.
'login/callback'
;
}
}
Write
Preview
Loading…
Cancel
Save