Oauth Anthentication #48
@ -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
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user