Commit a5468b0
authored
fix: OAuth error (#934)
issue: already borrowed: BorrowMutError when try login with oauth
because of req.connection_info() which makes an immutable borrow of
req method extract_session_key_from_req() also borrows req because of which
the server panics with the error fix is to use connection_info().clone() to
avoid multiple borrows1 parent 430b55c commit a5468b0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments