Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable Google sign-in #10044

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions openlibrary/i18n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1049,10 +1049,6 @@ msgid ""
"nonprofit Internet Archive"
msgstr ""

#: account/create.html
msgid "Google sign-in is temporarily unavailable, sorry for the inconvenience."
msgstr ""

#: account/create.html type/author/view.html
msgid "Success!"
msgstr ""
Expand Down
9 changes: 1 addition & 8 deletions openlibrary/templates/account/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@ <h1 class="ol-signup-hero__title">$_("Sign Up")</h1>
<div id="contentBody" class="ol-signup-form">

$if not ctx.user:
<div class="flash-messages">
<div class="info ol-signup-form__info-box error">
<span>
$_("Google sign-in is temporarily unavailable, sorry for the inconvenience.")
</span>
</div>
</div>
$#:render_template("account/ia_thirdparty_logins")
$:render_template("account/ia_thirdparty_logins")
<div class="ol-signup-form__big-or">$_('OR')</div>

$def field(input, suffix=''):
Expand Down
10 changes: 1 addition & 9 deletions openlibrary/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,7 @@ <h1 class="ol-signup-hero__title">$_("Log In")</h1>

<div id="contentBody" class="ol-signup-form">
$if not ctx.user:
<div class="flash-messages">
<div class="info ol-signup-form__info-box error">
<span>
Google sign-in is temporarily unavailable, sorry for the inconvenience.
</span>
</div>
</div>
$# Temporarily disable google signin
$#:render_template("account/ia_thirdparty_logins")
$:render_template("account/ia_thirdparty_logins")
<div class="ol-signup-form__big-or">$_('OR')</div>
<div class="ol-signup-form__info">$:_('Please enter your <a href="https://archive.org">Internet Archive</a> email and password to access your Open Library account.')</div>

Expand Down
Loading