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: {
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user