mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 22:59:30 +00:00
Added RedditAccount as a editable section to users, also added Admin side
This commit is contained in:
@@ -71,6 +71,29 @@ setup.</p>
|
||||
<p>
|
||||
<a href="/profile/add/eveapi">Add a Eve API key</a>
|
||||
</p>
|
||||
|
||||
|
||||
<h2>Reddit Accounts</h2>
|
||||
<p>This is a list of all your current linked Reddit accounts</p>
|
||||
{% if redditaccounts %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Username</th><th>Created Date</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for acc in redditaccounts %}
|
||||
<tr><td>{{ acc.username }}</td>
|
||||
<td>{{ acc.date_created }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot><tr><td colspan="5"> </td></tr></tfoot>
|
||||
</table>
|
||||
{% endif %}
|
||||
<p>
|
||||
<a href="/profile/add/reddit">Add a Reddit account</a>
|
||||
</p>
|
||||
|
||||
<p>If you encounter any errors during using this service, copy the massive
|
||||
error message into <a href="http://pastebin.com/">Pastebin</a> and give
|
||||
Matalok a good kicking on IRC/Jabber/Email or on the Forums.</p>
|
||||
|
||||
14
templates/sso/redditaccount.html
Normal file
14
templates/sso/redditaccount.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Add Reddit Account{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>This will bind a Reddit account to your Auth Gateway login, this is usually required for application to the
|
||||
corporation</p>
|
||||
<p>Please note, you will be forever tied to this account and posts and comments made on this account will be checked
|
||||
on from time to time</p>
|
||||
<form action="/profile/add/reddit" method="post">
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user