+
+
Login
+
Choose how to login
+
+
+
+
+
+
+ @if (Model.EnableLocalLogin)
+ {
+
+ }
+
+ @if (Model.ExternalProviders.Any())
+ {
+
+ }
+
+ @if (!Model.EnableLocalLogin && !Model.ExternalProviders.Any())
+ {
+
+ Invalid login request
+ There are no login schemes configured for this request.
+
+ }
+
+
diff --git a/src/Org/ViewModels/Account/ExternalProvider.cs b/src/Server/ViewModels/Account/ExternalProvider.cs
similarity index 100%
rename from src/Org/ViewModels/Account/ExternalProvider.cs
rename to src/Server/ViewModels/Account/ExternalProvider.cs
diff --git a/src/Server/ViewModels/Account/LoginViewModel.cs b/src/Server/ViewModels/Account/SignInModel.cs
similarity index 69%
rename from src/Server/ViewModels/Account/LoginViewModel.cs
rename to src/Server/ViewModels/Account/SignInModel.cs
index 33b5ac14..46320a11 100755
--- a/src/Server/ViewModels/Account/LoginViewModel.cs
+++ b/src/Server/ViewModels/Account/SignInModel.cs
@@ -1,15 +1,16 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
+using System.Runtime.InteropServices;
using Yavsc.Attributes.Validation;
namespace Yavsc.ViewModels.Account
{
- // TODO external autentication providers
+ // TODO external autentication providers
public class SignInModel
{
- ///