diff --git a/akarpov/music/services/file.py b/akarpov/music/services/file.py index 1ae0359..3b4b9df 100644 --- a/akarpov/music/services/file.py +++ b/akarpov/music/services/file.py @@ -19,6 +19,7 @@ def load_dir(path: str, user_id: int): def load_file(path: str, user_id: int): + # TODO: convert to mp3 if not mp3 process_mp3_file(path, user_id) diff --git a/akarpov/templates/base.html b/akarpov/templates/base.html index 00f300f..33a4ef7 100644 --- a/akarpov/templates/base.html +++ b/akarpov/templates/base.html @@ -93,8 +93,9 @@
If you want to disable two-factor authentication, please enter a token generated by your authentication app below. This is to verify your identity and to prevent unauthorized individuals from disabling your two-factor authentication.
+If faced problems with disabling contact support
+Scan the QR code below or enter key with your TOTP app, then enter the code provided by the app to enable 2FA.
+Your TOTP secret key is: {{ totp_key }}
+ +