mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#20589 Fix FormsAuthenticationService - now is expandable
Work Item: 20589
This commit is contained in:

committed by
Nicholas Mayne

parent
59b57a4c27
commit
17abedebc6
@@ -112,7 +112,7 @@ namespace Orchard.Security.Providers {
|
||||
// the cookie user data is {userId};{tenant}
|
||||
var userDataSegments = userData.Split(';');
|
||||
|
||||
if (userDataSegments.Length != 2) {
|
||||
if (userDataSegments.Length < 2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user