From 5f70edfbfdf679ad5999e069d4a9bb5201a12742 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 6 Nov 2015 09:26:00 +0800 Subject: [PATCH] * fix bug and adjust sso-bind page. --- module/common/control.php | 2 +- module/sso/view/bind.html.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/common/control.php b/module/common/control.php index 0c4bfffff4..2d4d36f625 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -109,7 +109,7 @@ class common extends control $method = strtolower($method); if(isset($rights[$module][$method])) { - if(empty($acls)) return true; + if(empty($acls['views'])) return true; $menu = isset($lang->menugroup->$module) ? $lang->menugroup->$module : $module; $menu = strtolower($menu); if($menu != 'qa' and !isset($lang->$menu->menu)) return true; diff --git a/module/sso/view/bind.html.php b/module/sso/view/bind.html.php index 452e2297af..d08cd94e95 100644 --- a/module/sso/view/bind.html.php +++ b/module/sso/view/bind.html.php @@ -13,7 +13,7 @@
-
+
sso->bind?>
@@ -28,7 +28,7 @@ - + @@ -36,11 +36,11 @@ - + - +
user->password?>
user->account?>
user->password?>
user->password2?>
user->realname?>