Oauth Anthentication #48

Merged
Xefir merged 13 commits from v2 into master 2022-09-12 18:47:37 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 1b8cff752a - Show all commits

View File

@ -10,7 +10,7 @@ from dotenv import load_dotenv
from ics import Calendar, ContentLine, Event from ics import Calendar, ContentLine, Event
from ics.alarm import DisplayAlarm from ics.alarm import DisplayAlarm
from quart import Quart, redirect, render_template, request, session, url_for from quart import Quart, redirect, render_template, request, session, url_for
from requests_oauthlib import OAuth2Session from requests_oauthlib import OAuth2Session # type: ignore
import sentry_sdk import sentry_sdk
from sentry_sdk.integrations.quart import QuartIntegration from sentry_sdk.integrations.quart import QuartIntegration
from uvicorn.middleware.proxy_headers import ProxyHeadersMiddleware # type: ignore from uvicorn.middleware.proxy_headers import ProxyHeadersMiddleware # type: ignore

View File

@ -9,9 +9,9 @@
height="80"/> height="80"/>
<span id="dots">…</span> <span id="dots">…</span>
<img src="{{ cdn_avatar_url(user.id, user.avatar) }}" <img src="{{ cdn_avatar_url(user.id, user.avatar) }}"
alt="{{ _('User Avatar') }}" alt="{{ _('User Avatar') }}"
width="80" width="80"
height="80"/> height="80"/>
</div> </div>
<h1> <h1>
<a href="{{ url_for(".index") }}">{{ client.user.display_name }}</a> <a href="{{ url_for(".index") }}">{{ client.user.display_name }}</a>