diff --git a/database/music_database.py b/database/music_database.py index 1a2bca8b..9c196d25 100644 --- a/database/music_database.py +++ b/database/music_database.py @@ -5248,6 +5248,7 @@ class MusicDatabase: 'has_pin': row['pin_hash'] is not None, 'has_password': row['password_hash'] is not None if 'password_hash' in columns else False, 'has_recovery': row['recovery_answer_hash'] is not None if 'recovery_answer_hash' in columns else False, + 'recovery_question': row['recovery_question'] if 'recovery_question' in columns else None, 'home_page': row['home_page'] if 'home_page' in columns else None, 'allowed_pages': json.loads(ap_raw) if ap_raw else None, 'can_download': bool(row['can_download']) if 'can_download' in columns else True, @@ -5280,6 +5281,7 @@ class MusicDatabase: 'has_pin': row['pin_hash'] is not None, 'has_password': row['password_hash'] is not None if 'password_hash' in columns else False, 'has_recovery': row['recovery_answer_hash'] is not None if 'recovery_answer_hash' in columns else False, + 'recovery_question': row['recovery_question'] if 'recovery_question' in columns else None, 'home_page': row['home_page'] if 'home_page' in columns else None, 'allowed_pages': json.loads(ap_raw) if ap_raw else None, 'can_download': bool(row['can_download']) if 'can_download' in columns else True, diff --git a/webui/index.html b/webui/index.html index 0859b928..256a8ad3 100644 --- a/webui/index.html +++ b/webui/index.html @@ -6040,6 +6040,7 @@
+ @@ -6051,6 +6052,7 @@
So you can reset a forgotten password by answering it on the sign-in screen.
+