Fixes a null ref exception
This commit is contained in:
parent
2ded35b439
commit
f49eec187f
1 changed files with 3 additions and 2 deletions
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
<hr/>
|
||||
<h2 class="lead text-left">@SR["Use another service to log in"]:</h2>
|
||||
@if (Model.ExternalProviders.Count() == 0)
|
||||
@if (Model.ExternalProviders==null || Model.ExternalProviders.Count() == 0)
|
||||
{
|
||||
<div>
|
||||
<p>
|
||||
|
|
@ -74,5 +74,6 @@
|
|||
@Html.AntiForgeryToken()
|
||||
</form>
|
||||
}
|
||||
}
|
||||
} }
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue