mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
FIX: Google groups import changed login URL (#9432)
I'm not clear why changing only the `wait_for_url` address was necessary and not also the `get` a few lines above, but this change seems to work for me on both literatecomputing.com Groups and a public group.
This commit is contained in:
parent
5a8a844e4e
commit
3c72cbc5de
@ -186,7 +186,7 @@ def login
|
||||
get("https://myaccount.google.com/?utm_source=sign_in_no_continue")
|
||||
|
||||
begin
|
||||
wait_for_url { |url| url.start_with?("https://myaccount.google.com") }
|
||||
wait_for_url { |url| url.start_with?("https://accounts.google.com") }
|
||||
rescue Selenium::WebDriver::Error::TimeoutError
|
||||
exit_with_error("Failed to login. Please check the content of your cookies.txt".red.bold)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user