The NO BAN Act submitted to Congress can limit the US president’s powers to impose discriminatory travel bans.