diff --git a/redash/handlers/authentication.py b/redash/handlers/authentication.py index a698dfb496..d7ad6e3511 100644 --- a/redash/handlers/authentication.py +++ b/redash/handlers/authentication.py @@ -263,18 +263,6 @@ def messages(): return messages -def messages(): - messages = [] - - if not current_user.is_email_verified: - messages.append('email-not-verified') - - if settings.ALLOW_PARAMETERS_IN_EMBEDS: - messages.append('using-deprecated-embed-feature') - - return messages - - @routes.route('/api/config', methods=['GET']) def config(org_slug=None): return json_response({