mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-13 03:50:19 +02:00
identity: log on email confirmation
This commit is contained in:
@@ -116,6 +116,7 @@ namespace Streetwriters.Identity.Controllers
|
||||
|
||||
if (await UserManager.IsInRoleAsync(user, client.Id) && client.OnEmailConfirmed != null)
|
||||
{
|
||||
logger.LogInformation("Email confirmed for user {UserId} on client {ClientId}. Triggering OnEmailConfirmed callback.", userId, client.Id);
|
||||
await client.OnEmailConfirmed(userId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user