Delete useless null check from ConsentController
This commit is contained in:
parent
073f7a7e60
commit
8be7497f2d
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user