Fix: Sign-in user if exists
This commit is contained in:
@@ -84,8 +84,12 @@ public class UserService(UserManager<ApplicationUser> userManager, IHttpContextA
|
||||
}
|
||||
}
|
||||
|
||||
// If we need to add special characters we can alternate between 2 pools.
|
||||
public class RandomGenerator
|
||||
{
|
||||
// For the moment, numbers and special characters don't work because
|
||||
// the random generator is designed to handle a single integer.
|
||||
// We can modify this in the future.
|
||||
private const string LetterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
+ "0123456789"
|
||||
+ "!@#$%^&*()_+"
|
||||
|
||||
Reference in New Issue
Block a user