fix
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -277,6 +277,7 @@ function signInClick() { | ... | @@ -277,6 +277,7 @@ function signInClick() { |
| 277 | var domain = primaryEmail.substring(primaryEmail.lastIndexOf("@") +1); | 277 | var domain = primaryEmail.substring(primaryEmail.lastIndexOf("@") +1); |
| 278 | 278 | ||
| 279 | if(domain != 'gotenzing.com'){ | 279 | if(domain != 'gotenzing.com'){ |
| 280 | $(document).ready(function() { | ||
| 280 | $.ajax({ | 281 | $.ajax({ |
| 281 | type: 'POST', | 282 | type: 'POST', |
| 282 | url: $(location).attr('origin') + '/signin.php/disconnect', | 283 | url: $(location).attr('origin') + '/signin.php/disconnect', |
| ... | @@ -288,12 +289,13 @@ function signInClick() { | ... | @@ -288,12 +289,13 @@ function signInClick() { |
| 288 | $('#visiblePeople').empty(); | 289 | $('#visiblePeople').empty(); |
| 289 | $('#authResult').empty(); | 290 | $('#authResult').empty(); |
| 290 | $('#gConnect').show(); | 291 | $('#gConnect').show(); |
| 292 | $('authOps').hide(); | ||
| 291 | }, | 293 | }, |
| 292 | error: function(e) { | 294 | error: function(e) { |
| 293 | console.log(e); | 295 | console.log(e); |
| 294 | } | 296 | } |
| 295 | }); | 297 | }); |
| 296 | 298 | }); | |
| 297 | } | 299 | } |
| 298 | 300 | ||
| 299 | 301 | ... | ... |
-
Please register or sign in to post a comment