Permalink
Browse files

Fixed warning that is logged when sreg extension requests come into a…

…n OP with empty required or optional lists.
  • Loading branch information...
AArnott committed Aug 26, 2009
1 parent 2bf9b23 commit ccf6c9a3bb5afb7c4514bc234e672f859a4312f5
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/DotNetOpenAuth/OpenId/Extensions/SimpleRegistration/ClaimsRequest.cs
@@ -247,6 +247,8 @@ internal ClaimsRequest(string typeUri)
internal void SetProfileRequestFromList(IEnumerable<string> fieldNames, DemandLevel requestLevel) {
foreach (string field in fieldNames) {
switch (field) {
case "": // this occurs for empty lists
break;
case Constants.nickname:
this.Nickname = requestLevel;
break;

0 comments on commit ccf6c9a

Please sign in to comment.