Commit 6fb55da
committed
Unlogged "me" query now returns null.
Until now, the unloggued query was actually returning a user whose name was "anon.".
This originates from a weird behaviour of Symfony.
"me" should return null if noone is logged.
Note this is a potential breaking change for clients implementing the "me" query, but since no one complained about the current behaviour that makes no sense, I'll assume this feature is not used wildly yet.
If this PR introduce breaking changes in your code, please notify me.1 parent 3f85584 commit 6fb55da
2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
| 293 | + | |
297 | 294 | | |
298 | 295 | | |
299 | 296 | | |
| |||
0 commit comments