mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-04 09:21:41 -05:00
Merge pull request #127 from jrtilson/master
Fix studiointeract/accounts-ui#126
This commit is contained in:
commit
e94e901777
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ Accounts.ui.config = function(options) {
|
|||
// Deal with `requestPermissions`
|
||||
if (options.requestPermissions) {
|
||||
Object.keys(options.requestPermissions).forEach(service => {
|
||||
const score = options.requestPermissions[service];
|
||||
const scope = options.requestPermissions[service];
|
||||
if (Accounts.ui._options.requestPermissions[service]) {
|
||||
throw new Error("Accounts.ui.config: Can't set `requestPermissions` more than once for " + service);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue