admin: Sane parameters for ResetSettings

This commit is contained in:
nemunaire 2024-03-24 15:57:28 +01:00
parent 0092170dbd
commit 239e8ae88d

View File

@ -349,6 +349,9 @@ func ResetSettings() error {
WChoiceCurCoefficient: 1, WChoiceCurCoefficient: 1,
GlobalScoreCoefficient: 1, GlobalScoreCoefficient: 1,
DiscountedFactor: 0, DiscountedFactor: 0,
UnlockedStandaloneExercices: 10,
UnlockedStandaloneExercicesByThemeStepValidation: 1,
UnlockedStandaloneExercicesByStandaloneExerciceValidation: 0,
AllowRegistration: false, AllowRegistration: false,
CanJoinTeam: false, CanJoinTeam: false,
DenyTeamCreation: false, DenyTeamCreation: false,
@ -358,7 +361,8 @@ func ResetSettings() error {
EnableResolutionRoute: false, EnableResolutionRoute: false,
PartialValidation: true, PartialValidation: true,
UnlockedChallengeDepth: 0, UnlockedChallengeDepth: 0,
SubmissionUniqueness: false, SubmissionUniqueness: true,
CountOnlyNotGoodTries: true,
DisplayAllFlags: false, DisplayAllFlags: false,
DisplayMCQBadCount: false, DisplayMCQBadCount: false,
EventKindness: false, EventKindness: false,