Ver código fonte

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

Chris Conner 10 anos atrás
pai
commit
eb71a1cb96
1 arquivos alterados com 2 adições e 2 exclusões
  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,
     )
 ))