Stuff
This commit is contained in:
parent
57e44d343f
commit
c34e8651be
1 changed files with 4 additions and 1 deletions
|
@ -58,7 +58,10 @@ class oAuthController extends Controller
|
||||||
|
|
||||||
}
|
}
|
||||||
$appCode = AppCode::createCode($access);
|
$appCode = AppCode::createCode($access);
|
||||||
$returnUrl.="code=".$appCode->code."&state=".$request->input("state");
|
$returnUrl.="code=".$appCode->code;
|
||||||
|
if($request->input("state", null) !== null) {
|
||||||
|
$returnUrl .= "&state=".$request->input("state");
|
||||||
|
}
|
||||||
|
|
||||||
Log::debug("Return URL: ".$returnUrl);
|
Log::debug("Return URL: ".$returnUrl);
|
||||||
|
|
||||||
|
|
Reference in a new issue