-
-
登录
-
- @if (ViewBag.CurrentUser != null)
- {
- 当前登录用户:@ViewBag.CurrentUser.User.Account
- 退出
-
- }
- else
- {
- 点击这里登陆
- }
-
-
-
- @if (ViewBag.CurrentUser != null)
- {
-
可访问的机构
-
- @foreach (var org in ViewBag.CurrentUser.AccessedOrgs)
+ @if (ViewBag.CurrentUser != null)
+ {
+
+
+ }
+
+
+ @if (ViewBag.CurrentUser != null)
+ {
+
可访问的机构
+
+ @foreach (var org in ViewBag.CurrentUser.AccessedOrgs)
{
- - @org.Name
- }
-
+
@org.Name
+ }
+
-
可访问的资源
-
- @foreach (var resource in ViewBag.CurrentUser.Resources)
+ 可访问的资源
+
+ @foreach (var resource in ViewBag.CurrentUser.Resources)
{
- - @resource.Name
- }
-
- }
+ - @resource.Name
+ }
+
+ }
\ No newline at end of file
diff --git a/OpenAuth.WebTest/Views/Login/Index.cshtml b/OpenAuth.WebTest/Views/Login/Index.cshtml
index e41c6052..58f7c107 100644
--- a/OpenAuth.WebTest/Views/Login/Index.cshtml
+++ b/OpenAuth.WebTest/Views/Login/Index.cshtml
@@ -2,17 +2,17 @@
ViewBag.Title = "title";
}
-