This commit is contained in:
yubaolee
2017-10-12 16:38:46 +08:00
parent 54eac35dbc
commit c617a3ecdb
20 changed files with 112 additions and 52 deletions

View File

@@ -17,7 +17,7 @@
<div class="media">
<div class="media-body">
<h4 class="media-heading">@ViewBag.CurrentUser.User.Account ,您好!</h4>
<p>因为使用了SSO所以您可以直接进入OpenAuth.Net而不用重复登</p>
<p>因为使用了SSO所以您可以直接进入OpenAuth.Net而不用重复登</p>
<p>
<a href="/Home/Admin" class="btn btn-primary">直接进入OpenAuth.Net</a>
<a href="/login/logout" class="btn btn-danger">注销</a>

View File

@@ -4,7 +4,7 @@
ViewBag.Title = "title";
}
<h2>OpenAuth.net测试站点登</h2>
<h2>OpenAuth.net测试站点登</h2>
@if (Model != null && !Model.Success)
@@ -34,8 +34,8 @@
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn btn-primary">登</button>
<a href="http://localhost:52789/SSO/Login?appkey=@ViewBag.AppKey">或者使用OpenAuth.net第三方登功能</a>
<button type="submit" class="btn btn-primary">登</button>
<a href="http://localhost:52789/SSO/Login?appkey=@ViewBag.AppKey">或者使用OpenAuth.net第三方登功能</a>
</div>
</div>
</form>