Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e1037bf

Browse files
committed
Merge pull request FriendsOfSymfony#38 from patrickli/default_scopes
Use null as the default supported_scopes value.
2 parents 09a364e + 7be043d commit e1037bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OAuth2/OAuth2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ protected function setDefaultOptions() {
362362
self::CONFIG_ENFORCE_INPUT_REDIRECT => TRUE,
363363

364364
self::CONFIG_ENFORCE_STATE => FALSE,
365-
self::CONFIG_SUPPORTED_SCOPES => array(), // This is expected to be passed in on construction. Scopes can be an aribitrary string.
365+
self::CONFIG_SUPPORTED_SCOPES => null, // This is expected to be passed in on construction. Scopes can be an aribitrary string.
366366
);
367367
}
368368

0 commit comments

Comments
 (0)