|
|
@@ -1742,6 +1742,7 @@ define([ 'app/app' ], function(app) {
|
|
|
*/
|
|
|
app.controller('leftNavCtrl', ["$scope", "toaster", function($scope, toaster){
|
|
|
$scope.promptUpdate = function() {
|
|
|
+ console.info($scope.userInfo.pwdEnable);
|
|
|
if (!$scope.userInfo.pwdEnable) {
|
|
|
toaster.pop("info", "请修改登录密码");
|
|
|
return;
|
|
|
@@ -1751,7 +1752,7 @@ define([ 'app/app' ], function(app) {
|
|
|
return;
|
|
|
}
|
|
|
if (!$scope.userInfo.haveUserQuestion) {
|
|
|
- toaster.pop("info", "请修改登录密码");
|
|
|
+ toaster.pop("info", "请设置密保问题 ");
|
|
|
return;
|
|
|
}
|
|
|
}
|