File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ public function auth()
107
107
if (ApiConfig::get ('mode ' ) === 'web ' ) {
108
108
$ aToken = ApiConfig::get ('accessToken ' );
109
109
$ rToken = ApiConfig::get ('refreshToken ' );
110
- $ authCode = ApiConfig::get ('authCode ' );
110
+ $ authzCode = ApiConfig::get ('authzCode ' );
111
111
112
112
!$ aToken || $ this ->_server ->option ('accessToken ' , $ aToken );
113
113
!$ rToken || $ this ->_server ->option ('refreshToken ' , $ rToken );
114
- !$ authCode || $ this ->_server ->option ('authCode ' , $ authCode );
114
+ !$ authzCode || $ this ->_server ->option ('authzCode ' , $ authzCode );
115
115
}
116
116
117
117
return $ this ->_server ->auth ();
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ final class Config
46
46
/**
47
47
* @var Authorization code from authorization screen
48
48
*/
49
- static private $ _code ;
49
+ static private $ _authzCode ;
50
50
/**
51
51
* @var Application mode, i.e. web or nonweb
52
52
*/
You can’t perform that action at this time.
0 commit comments