Release Shakeout Part 1 (#1440)
* Bumped docnet back up, as user issue was not related to the version. Reworked the logic flow for ConfirmEmailToken. Added new test cases for a bug reported around Docnet and weird characters. * Removed a duplicate remove from want to read list * Fixed an issue where series detail didn't appopriately handle remove from want to read. * Added pagination information to want to read, fixed remove from want to read not reloading page * When clearing a series of bookmarks, automatically refresh page. * Added a continue button on reading list page so user can continue where they left off (progress) or start at beginning * Added todo about design idea * Added a bug marker
This commit is contained in:
parent
a3a0b61fc0
commit
9d90652792
19 changed files with 57 additions and 42 deletions
|
|
@ -727,21 +727,18 @@ namespace API.Controllers
|
|||
private async Task<bool> ConfirmEmailToken(string token, AppUser user)
|
||||
{
|
||||
var result = await _userManager.ConfirmEmailAsync(user, token);
|
||||
if (!result.Succeeded)
|
||||
{
|
||||
_logger.LogCritical("Email validation failed");
|
||||
if (result.Errors.Any())
|
||||
{
|
||||
foreach (var error in result.Errors)
|
||||
{
|
||||
_logger.LogCritical("Email validation error: {Message}", error.Description);
|
||||
}
|
||||
}
|
||||
if (result.Succeeded) return true;
|
||||
|
||||
return false;
|
||||
_logger.LogCritical("[Account] Email validation failed");
|
||||
if (!result.Errors.Any()) return false;
|
||||
|
||||
foreach (var error in result.Errors)
|
||||
{
|
||||
_logger.LogCritical("[Account] Email validation error: {Message}", error.Description);
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue