1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-06-14 01:16:48 +00:00

Fix for #1998 (Error 500 with configured oauth on user setup page accessed by admins)

This commit is contained in:
Ozzie Isaacs 2021-05-28 14:23:30 +02:00
parent 1b7e422772
commit 6de3aebf3a

View File

@ -47,7 +47,7 @@
{% endfor %}
</select>
</div>
{% if registered_oauth.keys()| length > 0 and not new_user %}
{% if registered_oauth.keys()| length > 0 and not new_user and profile %}
{% for id, name in registered_oauth.items() %}
<div class="form-group">
<label>{{ name }} {{_('OAuth Settings')}}</label>