mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
added info change functionality
This commit is contained in:
parent
c6e719240a
commit
317ca72377
@ -13,7 +13,7 @@ var uiConfig = {
|
||||
callbacks: {
|
||||
signInSuccessWithAuthResult: function(authResult, redirectUrl) {
|
||||
if (authResult.user) {
|
||||
handleSignedInUser(authResult.user);
|
||||
SignedInUser(authResult.user);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -194,13 +194,13 @@ function upProfileInfo() {
|
||||
}
|
||||
}
|
||||
if (si) {
|
||||
handleSignedInUser();
|
||||
handleSignedInUser(user);
|
||||
}
|
||||
|
||||
} else {
|
||||
setTimeout(function() {
|
||||
alert('Please sign in to change your account info.');
|
||||
}, 1);
|
||||
handleSignedOutUser();
|
||||
SignedOutUser();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user