Hi,
Thanks!
Sorry, cant send project to you.
I can send you cookies, request, and log if fine?
Hi,
Do you wait for a while after opening page ? If so, how much do you wait ? Now I don't wait. Just put this URL into browser.
Do you also run another AspNet Zero project at the same time ? No - this is new tab of Chrome browser.
Hi I have open page at my browser, specially not close it. And it occurs every time I refresh it.
When I open new browser with new window - error not happen.
I figure out what happend - my issue.
So, what fix I should to current Asp.Zero code?
Hi, is it fix my issue too?
Hi, any updates here how to fix it?
Hi,
Yes - it works thanks :)
Hi the same is not working for me (MVC JQ ZERO Latest) for reset pwd and email activation
There is no such an entity. Entity type:
It get fine user, but when update it - loss tenantId. this code:
[UnitOfWork]
public virtual async Task<ActionResult> EmailConfirmation(EmailConfirmationViewModel model)
{
var tenantId = model.TenantId.IsNullOrEmpty()
? (int?) null
: SimpleStringCipher.Instance.Decrypt(model.TenantId).To<int>();
var userId = Convert.ToInt64(SimpleStringCipher.Instance.Decrypt(model.UserId));
_unitOfWorkManager.Current.SetTenantId(tenantId);
var user = await _userManager.GetUserByIdAsync(userId);
if (user == null || user.EmailConfirmationCode.IsNullOrEmpty() ||
user.EmailConfirmationCode != model.ConfirmationCode)
{
throw new UserFriendlyException(L("InvalidEmailConfirmationCode"),
L("InvalidEmailConfirmationCode_Detail"));
}
user.IsEmailConfirmed = true;
user.EmailConfirmationCode = null;
await _userManager.UpdateAsync(user);