#20589 Fix FormsAuthenticationService - now is expandable

Work Item: 20589
This commit is contained in:
Wojciech Gadziński
2014-03-31 17:33:06 +02:00
committed by Nicholas Mayne
parent 59b57a4c27
commit 17abedebc6

View File

@@ -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;
}