Skip to content

Commit

Permalink
Clarify login instructions (#94)
Browse files Browse the repository at this point in the history
ConCat won't redirect back to the site requesting OAuth if a new
account was created. Provide instructions before exiting the Art Show
system.
  • Loading branch information
binaryf0x authored Oct 4, 2023
1 parent 24813a7 commit 56cb738
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions tinyreg/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@
{% block title %}Login{% endblock %}
{% block content %}
<p>
This site requires you to log in using your convention registration. When you
click the button below you will be asked to log in using the username and
password you used to register for the convention. If you have not yet
registered you must create an account before returning to this page.
This site <i>no longer</i> requires a separate password. Clicking the button
below will redirect you to the convention registration site to log in and you
will then be returned back to this site.
</p>

<p>
<a class="btn" href="{% url 'oauth-redirect' %}?next={{ next|default:'/' }}">Log in</a>
If you have not yet created an account in the registration system you will
need to do so and <i>will not</i> be automatically returned to this site. Once
your account is created please visit <b>{{ SITE_ROOT_URL }}</b> again to
complete your art show registration.
</p>

<p>
<a class="btn" href="{% url 'oauth-redirect' %}?next={{ next|default:'/' }}">
Log in
</a>
</p>

<details>
Expand All @@ -19,7 +27,9 @@
<input type="hidden" name="next" value="{{ next }}" />
<table class="loginbox">
{{ form.as_table }}
<tr class="buttonrow"><td colspan="2"><input type="submit" value="Log In"/></td></tr>
<tr class="buttonrow">
<td colspan="2"><input type="submit" value="Log In"/></td>
</tr>
</table>
</form>
</p>
Expand Down

0 comments on commit 56cb738

Please sign in to comment.