[next] Start a clean session when user logs in / out (#1853)

* Clear user session after login / logout

* Filename cases

* Improve type checking

* Apply suggestions
This commit is contained in:
Kiwi
2018-09-12 16:04:54 +00:00
committed by Wyatt Johnson
parent 26b59fc17c
commit 8b09b52be8
30 changed files with 485 additions and 331 deletions
@@ -809,12 +809,8 @@ type Query {
"""
me is the current logged in User.
clientAuthRevision is an implementation detail that is only
used on the client to invalidate the cache.
TODO: This should move to a client side directive if this becomes possible.
"""
me(clientAuthRevision: Int): User
me: User
"""
settings is the Settings for a given Tenant.