diff --git a/web/src/App.vue b/web/src/App.vue index 5ccccc5..6a7b7cd 100755 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -35,38 +35,19 @@ export default { }), apollo: { - me: gql` - { - me { - sAMAccountName - displayName - department - roles - groups { - cn + me: { + skip() { + return this.$route.name == 'login' + }, + query: gql` + { + me { + sAMAccountName + displayName } - thumbnailPhoto - firstName - pwdLastSet - lastLogin - lastLoginPrior - accountExpires - badPwdCount - description - extensionAttribute1 - extensionAttribute10 - extensionAttribute2 - extensionAttribute6 - extensionAttribute7 - mail - title - isSuperAdmin - isStudent - isTokenCreator - isServant } - } - ` + ` + } }, computed: {