mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Support email addresses as usernames #1513
This commit is contained in:
parent
9a25152e97
commit
5472baff24
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ namespace Ombi
|
||||||
options.Password.RequireLowercase = false;
|
options.Password.RequireLowercase = false;
|
||||||
options.Password.RequireNonAlphanumeric = false;
|
options.Password.RequireNonAlphanumeric = false;
|
||||||
options.Password.RequireUppercase = false;
|
options.Password.RequireUppercase = false;
|
||||||
|
options.User.AllowedUserNameCharacters =
|
||||||
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 -._@+";
|
||||||
});
|
});
|
||||||
|
|
||||||
services.AddDataProtection();
|
services.AddDataProtection();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue