feat: add portal allauth account flow

This commit is contained in:
QiuSW
2026-07-03 11:27:45 +08:00
parent 7df2c51903
commit d61a641b7e
29 changed files with 446 additions and 31 deletions
+13
View File
@@ -0,0 +1,13 @@
{% extends "portal/base.html" %}
{% block title %}退出 - cmhub{% endblock %}
{% block content %}
<section class="cmhub-panel">
<h1 class="h4 mb-3">退出登录</h1>
<form method="post" action="{% url 'portal-logout' %}">
{% csrf_token %}
<button class="btn btn-primary w-100" type="submit">退出</button>
</form>
</section>
{% endblock %}