|
@ -58,7 +58,7 @@ |
|
|
response = ConsentResponse.Denied; |
|
|
response = ConsentResponse.Denied; |
|
|
} |
|
|
} |
|
|
// user clicked 'yes' - validate the data
|
|
|
// user clicked 'yes' - validate the data
|
|
|
else if (model.Button == "yes" && model != null) |
|
|
|
|
|
|
|
|
else if (model.Button == "yes") |
|
|
{ |
|
|
{ |
|
|
// if the user consented to some scope, build the response model
|
|
|
// if the user consented to some scope, build the response model
|
|
|
if (model.ScopesConsented != null && model.ScopesConsented.Any()) |
|
|
if (model.ScopesConsented != null && model.ScopesConsented.Any()) |
|
|