Prevent signin without hosted domain

This commit is contained in:
Tom Moor
2018-05-28 22:32:36 -07:00
parent 25aa1f288b
commit aa9ed09f08
6 changed files with 25 additions and 2 deletions

View File

@@ -122,6 +122,9 @@ class AuthStore {
this.user = data.user;
this.team = data.team;
this.oauthState = data.oauthState;
// load token from state for backwards compatability with
// sessions created pre-google auth
this.token = Cookie.get('accessToken') || data.token;
autorun(() => {