Set default value for password scheme

This commit is contained in:
Antoine Nguyen
2025-06-08 15:12:48 +02:00
parent 4674ca4cb8
commit 1c5cce2699
2 changed files with 1 additions and 104 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class CoreGlobalParametersSerializer(serializers.Serializer):
choices=[("local", gettext_lazy("Local")), ("ldap", "LDAP")], default="local"
)
password_scheme = serializers.ChoiceField(
choices=[("sha512crypt", "sha512crypt")], required=False
choices=[("sha512crypt", "sha512crypt")], default="sha512crypt", required=False
)
rounds_number = serializers.IntegerField(default=70000)
update_scheme = serializers.BooleanField(default=True)
-103
View File
@@ -1,103 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Icarus Flight, 2022
# Antoine Nguyen <tonio@ngyn.org>, 2023
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-01 11:53+0200\n"
"PO-Revision-Date: 2020-10-02 13:39+0000\n"
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>, 2023\n"
"Language-Team: French (https://app.transifex.com/tonio/teams/13749/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#: admin/static/admin/js/admin.js:129 admin/static/admin/js/admin.js:174
msgid "No more domain to show"
msgstr "Plus de domaine à afficher"
#: admin/static/admin/js/admin.js:149
msgid "Do not delete domain directory"
msgstr "Ne pas supprimer le répertoire du domaine"
#: admin/static/admin/js/admin.js:151
msgid "This operation will remove ALL data associated to this domain."
msgstr "Cette opération supprimera TOUTES les données associées à ce domaine."
#: admin/static/admin/js/admin.js:152
msgid ""
"This operation will remove all data associated to this domain, excepting "
"accounts."
msgstr ""
"Cette opération supprimera toutes les données associées à ce domaine à "
"l'exception des comptes."
#: admin/static/admin/js/admin.js:177 admin/static/admin/js/admin.js:436
msgid "No more quota to show"
msgstr "Plus de quota à afficher"
#: admin/static/admin/js/admin.js:180
msgid "No more log to show"
msgstr "Plus aucun journal à afficher"
#: admin/static/admin/js/admin.js:309
msgid "No domain administrator defined"
msgstr "Aucun administrateur de domaine défini"
#: admin/static/admin/js/admin.js:365 admin/static/admin/js/admin.js:433
msgid "No more identity to show"
msgstr "Plus d'identité à afficher"
#: admin/static/admin/js/admin.js:407
msgid "Do not delete mailbox directory"
msgstr "Ne pas supprimer le répertoire de la boite aux lettres"
#: bower_components/jquery-ui/jquery-ui.min.js:8
msgid "'"
msgstr "'"
#: bower_components/swagger-ui/dist/swagger-ui-bundle.js:133
msgid "operation"
msgstr "opération"
#: core/static/core/js/settings.js:16
msgid "No more log entry to show"
msgstr "Plus d'entrée de journal à afficher"
#: maillog/static/maillog/js/stats.js:45
msgid "Search a domain"
msgstr "Checher un domaine"
#: static/js/confirmation.js:44
msgid "Warning"
msgstr "Avertissement"
#: static/js/confirmation.js:59
msgid "Cancel"
msgstr "Annuler"
#: static/js/global.js:347
msgid "Internal error"
msgstr "Erreur interne"
#: static/js/listing.js:21
msgid "No more entry to show"
msgstr "Plus d'entrée à afficher"
#: static/js/listing.js:46
msgid "Search"
msgstr "Chercher"
#: static/js/searchbar.js:28
msgid "Search..."
msgstr "Chercher..."