You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, if the token is found in the UserTokens list, it doesn't reset it.
This assumes that the value is still the same, when if you're storing access tokens or similar, then the value has changed.
Also on Line 701 it protects the token. Which would double /triple etc protect it, if the token already exists.
There is a RemoveAsync method, on the api, but to me, it doesn't make sense that you're forced to check for an existing token, then remove it, then re add it.
The text was updated successfully, but these errors were encountered:
this code
OrchardCore/src/OrchardCore/OrchardCore.Users.Core/Services/UserStore.cs
Lines 687 to 704 in bbbc79a
looks like it has lots of problems.
Firstly, if the token is found in the
UserTokens
list, it doesn't reset it.This assumes that the value is still the same, when if you're storing access tokens or similar, then the value has changed.
Also on Line 701 it protects the token. Which would double /triple etc protect it, if the token already exists.
There is a RemoveAsync method, on the api, but to me, it doesn't make sense that you're forced to check for an existing token, then remove it, then re add it.
The text was updated successfully, but these errors were encountered: