Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f118382 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Accept alternative email addresses." am: 0b14739e

am: 6dfe4bc1

Change-Id: I6439166126756b26e43be506130526a9a5c5d08d
parents ff5c236e 6dfe4bc1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@ def find_address(address):
               + urllib.quote(address))
    echo('Checking email address: ' + address)
    result = urllib2.urlopen(request).read()
    expected = '"email": "' + address + '"'
    checked_addresses[address] = (result.find(expected) >= 0)
    checked_addresses[address] = (
        result.find('"email":') >= 0 and result.find('"_account_id":') >= 0)
  return checked_addresses[address]