added info change functionality

This commit is contained in:
Jacob Levine 2019-02-06 15:35:51 -06:00
parent c6e719240a
commit 317ca72377

View File

@ -13,7 +13,7 @@ var uiConfig = {
callbacks: { callbacks: {
signInSuccessWithAuthResult: function(authResult, redirectUrl) { signInSuccessWithAuthResult: function(authResult, redirectUrl) {
if (authResult.user) { if (authResult.user) {
handleSignedInUser(authResult.user); SignedInUser(authResult.user);
} }
return false; return false;
} }
@ -194,13 +194,13 @@ function upProfileInfo() {
} }
} }
if (si) { if (si) {
handleSignedInUser(); handleSignedInUser(user);
} }
} else { } else {
setTimeout(function() { setTimeout(function() {
alert('Please sign in to change your account info.'); alert('Please sign in to change your account info.');
}, 1); }, 1);
handleSignedOutUser(); SignedOutUser();
} }
} }