Skip to content

Commit

Permalink
Remove duplicate messages method (#4131)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored Sep 11, 2019
1 parent ecf160c commit 6458a1e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions redash/handlers/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 6458a1e

Please sign in to comment.