mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2026-10-14 05:25:22 +00:00
started teams page
This commit is contained in:
1 parent
c6b2840e07
commit
45a4387c68
3 files changed
+100
-23
No files matched your search
@@ -52,14 +52,14 @@ window.onload = function() {
|
||||
|
||||
function signout() {
|
||||
var user = firebase.auth().currentUser;
|
||||
firebase.auth().signOut()
|
||||
window.location.href = '../';
|
||||
firebase.auth().signOut().then(
|
||||
window.location.href = '../');
|
||||
}
|
||||
|
||||
function deleteAccount() {
|
||||
try {
|
||||
firebase.auth().currentUser.delete()
|
||||
window.location.href = '../';
|
||||
firebase.auth().currentUser.delete().then(
|
||||
window.location.href = '../');
|
||||
} catch (error) {
|
||||
if (error.code == 'auth/requires-recent-login') {
|
||||
alert("Please sign in again to delete your account.")
|
||||
@@ -68,6 +68,7 @@ function deleteAccount() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function updun() {
|
||||
var user = firebase.auth().currentUser;
|
||||
user.updateProfile({
|
||||
|
||||
Reference in new issue
Block a user