Commits

Liam Staskawicz committed 44430b9

* fix for build 1.0.55

  • Participants
  • Parent commits e37a57a

Comments (0)

Files changed (1)

   Void addUser(Str username, Str password)
   {
     users := Collection(this, "system.users")
-    u := users.findOne(["user": username]) ?: ["user": username];
-    u["pwd"] = pwdHash(username, password);
+    Str:Obj? u := users.findOne(["user": username]) ?: ["user": username]
+    u["pwd"] = pwdHash(username, password)
     users.save(u);
   }
   
   
   internal static Bool cmdOk(Str:Obj? cmd)
   {
-    return cmd["ok"] == 1f
+    ok := cmd["ok"]
+    return (ok == 1f) || (ok == true)
   }
   
   **