Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- logout() {
- session.signOut().then(() => {
- this.s.checkIfSignedIn();
- });
- }
- logout() {
- let self = this;
- var session = gapi.auth2.getAuthInstance();
- session.signOut().then( function() {
- localStorage.clear();
- self.s.checkIfSignedIn();
- });
- }
Add Comment
Please, Sign In to add comment