Explorar o código

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

Chris Conner %!s(int64=10) %!d(string=hai) anos
pai
achega
eb71a1c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,
     )
 ))