mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 02:39:39 +02:00
global: add support for -DSTAGING
This commit is contained in:
1 parent
c6bcd4a84d
commit
e5bf3367cc
9 files changed
+137
-148
No files matched your search
@@ -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