Fixes a null ref exception

main
Paul Schneider 7 years ago
parent eda0b7070b
commit b188d901f4
1 changed files with 3 additions and 2 deletions

@ -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>

Loading…