This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Commit 82687eb
authored
Clear auth instance on every requests
Currenly auth instance is resseting after swoole reload/restart, and after user login - it shares auth across all other requests.
This commit fixes:
1) Logout user after swoole reload
2) Share auth instance across all requests1 parent 29c6bfa commit 82687eb
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments