# Avoid verifying access tokens for out-of-date clients · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/39fbf7d4d1df402e646470830ab7f0b1dd36a849)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 39fbf7d4d1df402e646470830ab7f0b1dd36a849

Requested commit: 39fbf7d4d1df402e646470830ab7f0b1dd36a849

Commit: 39fbf7d4d1df402e646470830ab7f0b1dd36a849

Tree: 61cb0716eab6f3a68c371f32736450e9b7a9f1a5

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Avoid verifying access tokens for out-of-date clients

Replace the 'VerifyToken' middleware with a 'process_auth_header' function
that we call in the '/rpc' handler after checking that the client's protocol
version matches.

```

## Parents

- [d2192fd986353b6a8e3dbc93c1723a6fd4c62120](https://git.cafe/gitcafe/zed/commit/d2192fd986353b6a8e3dbc93c1723a6fd4c62120?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/39fbf7d4d1df402e646470830ab7f0b1dd36a849?format=markdown)
