mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-15 04:50:19 +02:00
global: add support for -DSTAGING
This commit is contained in:
@@ -157,7 +157,7 @@ namespace Streetwriters.Identity.Controllers
|
||||
|
||||
var code = await UserManager.GenerateUserTokenAsync(user, TokenOptions.DefaultProvider, "ResetPassword");
|
||||
var callbackUrl = Url.TokenLink(user.Id.ToString(), code, client.Id, TokenType.RESET_PASSWORD);
|
||||
#if DEBUG
|
||||
#if (DEBUG || STAGING)
|
||||
return Ok(callbackUrl);
|
||||
#else
|
||||
await Slogger<AccountController>.Info("ResetUserPassword", user.Email, callbackUrl);
|
||||
|
||||
Reference in New Issue
Block a user