(user: User)
| 1157 | if (headersList.has('authorization')) { |
| 1158 | redirect(await appendCallbackPath(loggedOutRedirectUrl)); |
| 1159 | } |
| 1160 | |
| 1161 | const { user } = await resolveUserFromSession( |
| 1162 | { adminOnly: false, DANGEROUS_allowBlockedUsers: true }, |
| 1163 | db |
| 1164 | ); |
| 1165 | if (!user) { |
| 1166 | redirect(await appendCallbackPath(loggedOutRedirectUrl)); |
| 1167 | } |
| 1168 | if (user.blocked_reason) { |
no outgoing calls
no test coverage detected