mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
652 B
15 lines
652 B
@using System.Collections.Generic
|
|
@using Microsoft.AspNetCore.Http
|
|
@using Microsoft.AspNetCore.Http.Authentication
|
|
@model PinkParrot.Modules.UI.Account.LoginVM
|
|
|
|
<form asp-controller="Account" asp-action="External" asp-route-returnurl="@Model.ReturnUrl" method="post" class="form-horizontal">
|
|
<div>
|
|
<p>
|
|
@foreach (var provider in Model.ExternalProviders)
|
|
{
|
|
<button type="submit" class="btn btn-default" name="provider" value="@provider.AuthenticationScheme" title="Log in using your @provider.DisplayName account">@provider.AuthenticationScheme</button>
|
|
}
|
|
</p>
|
|
</div>
|
|
</form>
|