# fix\(server\): an expired link goes through the link card · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/efd17430b03b98935dba939d92260ff16840c098)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: efd17430b03b98935dba939d92260ff16840c098

Requested commit: efd17430b03b98935dba939d92260ff16840c098

Commit: efd17430b03b98935dba939d92260ff16840c098

Tree: b3043f0e97623db2427f7fc90fdc6fcb7144a3d2

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): an expired link goes through the link card

t3_environment_link told the agent a machine was linked whenever a row
existed, and "Use this link" accepted it, even after the link expired.
The agent then failed on its first call and the user had no way to renew
it from the card. Both now treat an expired link as no link, so the card
asks for a new pairing code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [26651fa6da36710f9bfb7c70f775b914eedebaac](https://git.cafe/pingdotgg/t3code/commit/26651fa6da36710f9bfb7c70f775b914eedebaac?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/efd17430b03b98935dba939d92260ff16840c098?format=markdown)
