Commit 239e721
committed
refactor: port admin activation resend to the email outbox
develop replaced direct IEmailService sends with the durable EmailOutbox,
where the activation token is minted by the consumer at send time rather
than by the caller. Re-express ResendActivationEmailAsync in those terms:
seed a token hash when the activation request is missing and enqueue
EmailOutboxMessage.ForAccountActivation instead of calling _emailService
with a self-minted token.
The outbox coalesce key supersedes any pending activation for the user, so
the explicit EmailSendAttempts bookkeeping is no longer needed.1 parent 6d49577 commit 239e721
1 file changed
Lines changed: 8 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 277 | | |
281 | 278 | | |
282 | | - | |
| 279 | + | |
| 280 | + | |
283 | 281 | | |
284 | 282 | | |
285 | 283 | | |
286 | | - | |
287 | | - | |
| 284 | + | |
288 | 285 | | |
289 | 286 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 287 | | |
296 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
297 | 291 | | |
298 | | - | |
299 | | - | |
| 292 | + | |
| 293 | + | |
300 | 294 | | |
301 | 295 | | |
302 | 296 | | |
| |||
0 commit comments