Fixes a null ref exception
This commit is contained in:
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
<h2 class="lead text-left">@SR["Use another service to log in"]:</h2>
|
<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>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
@ -74,5 +74,6 @@
|
|||||||
@Html.AntiForgeryToken()
|
@Html.AntiForgeryToken()
|
||||||
</form>
|
</form>
|
||||||
}
|
}
|
||||||
}
|
} }
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user