소스 검색

HUE-1071 [core] Fixed tests for the option to change pwd at login

Chris Conner 10 년 전
부모
커밋
eb71a1cb96
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      desktop/core/src/desktop/conf.py

+ 2 - 2
desktop/core/src/desktop/conf.py

@@ -530,8 +530,8 @@ AUTH = ConfigSection(
                             help=_("When set to true this will allow you to specify a password for "
                                    "the user when you create the user and then force them to change "
                                    "their password upon first login.  The default is false."),
-                            type=str,
-                            default="false",
+                            type=coerce_bool,
+                            default=False,
     )
 ))