Pass next URL to OAuth
This commit is contained in:
parent
51c245d637
commit
37af9ad1c0
2 changed files with 7 additions and 1 deletions
|
|
@ -88,7 +88,7 @@
|
|||
<div class="alert alert-info mt-4" role="alert">
|
||||
This tool must be connected with Wikidata to work.
|
||||
</div>
|
||||
<p><a href="{{ url_for('start_oauth') }}" class="btn btn-primary btn-lg">Connect with Wikidata</a>
|
||||
<p><a href="{{ url_for('start_oauth', next=current_url()) }}" class="btn btn-primary btn-lg">Connect with Wikidata</a>
|
||||
{% endif %}
|
||||
|
||||
{% if username %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue