parent
6a9f339b7f
commit
62d7ea55a5
2
setup.js
2
setup.js
|
@ -310,7 +310,7 @@ authForm.on('submit', function() {
|
|||
if (instagramCheckbox.checked && index !== -1) {
|
||||
passportConfig.splice(index, 1);
|
||||
index = passportConfig.indexOf('// Sign in with Instagram.');
|
||||
passportConfig.splice(index, 40);
|
||||
passportConfig.splice(index, 43);
|
||||
fs.writeFileSync('config/passport.js', passportConfig.join(os.EOL));
|
||||
|
||||
index = loginTemplate.indexOf(" a.btn.btn-block.btn-instagram.btn-social(href='/auth/instagram')");
|
||||
|
|
Loading…
Reference in New Issue