better speed elos default values
This commit is contained in:
parent
8076fda1e4
commit
aed070ec24
|
@ -74,6 +74,8 @@ object SpeedElos {
|
|||
Json.writes[SpeedElos])
|
||||
|
||||
private def defaults = Json.obj(
|
||||
"bullet" -> SpeedElo.default
|
||||
"blitz" -> SpeedElo.default,
|
||||
"bullet" -> SpeedElo.default,
|
||||
"slow" -> SpeedElo.default
|
||||
)
|
||||
}
|
||||
|
|
|
@ -208,7 +208,6 @@ object UserRepo {
|
|||
"password" -> hash(password, salt),
|
||||
"salt" -> salt,
|
||||
"elo" -> User.STARTING_ELO,
|
||||
"speedElos" -> SpeedElos.default,
|
||||
"count" -> Count.default,
|
||||
"enabled" -> true,
|
||||
"createdAt" -> $date(DateTime.now),
|
||||
|
|
Loading…
Reference in a new issue