Convert login to flask framework and fix the login, and fix account display

This commit is contained in:
James Taylor
2019-07-21 00:03:34 -07:00
parent 8cad77ad0d
commit 167483af21
3 changed files with 79 additions and 85 deletions

View File

@@ -48,7 +48,7 @@
<label for="account-selection">Account:</label>
<select id="account-selection" name="channel_id">
{% for account in accounts %}
<option value="{{ account['channel_id'] }}">{{ account['display_name'] }}</option>
<option value="{{ account[0] }}">{{ account[1] }}</option>
{% endfor %}
</select>
<a href="/https://youtube.com/login" target="_blank">Add account</a>