Skip to content

Commit

Permalink
Enable login for emails with shopee.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao Hanyu committed Sep 18, 2017
1 parent e36d95c commit b3fd352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def my_user_info_getter(sm, provider, response=None):
'garena.co.in',
'shopee.vn',
'garena.co.id',
'seagroup.com'
'seagroup.com',
'shopee.com'
]
if domain not in authorized_email_extensions:
raise SupersetSecurityException('Email domain is not allowed.')
Expand Down

0 comments on commit b3fd352

Please sign in to comment.