Skip to content

Commit e8b56bd

Browse files
committed
Change firebase auth persistence setting to "LOCAL"
1 parent c71927c commit e8b56bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ $(document).ready(function(){
885885
var provider = new firebase.auth.GoogleAuthProvider();
886886

887887
// Make sure the session persists after closing the window so the user doesn't have to log in every time
888-
firebase.auth().setPersistence(firebase.auth.Auth.Persistence.SESSION)
888+
firebase.auth().setPersistence(firebase.auth.Auth.Persistence.LOCAL)
889889
.then(() => {
890890
// Sign in using Google
891891
firebase.auth().signInWithPopup(provider).then((result) => {

0 commit comments

Comments
 (0)