Hot fix Account reactivation
This commit is contained in:
parent
586f9938a3
commit
dc180a1e8a
|
|
@ -11,7 +11,7 @@ DISCORD_BOT_TOKEN='MTM5NTAxODY2MDI2NzAzNjcxMg.GJE-k4.W0o09yJZfG3onzyzHLbXu4vBrKP
|
|||
DISCORD_REDIRECT_URI='https://astra-os.de/callback/discord'
|
||||
|
||||
IMPRESSUM_NAME='Elias Geworski'
|
||||
IMPRESSUM_ADDRESS='Taiostraße 4b, 90562 Heroldsberg'
|
||||
IMPRESSUM_ADDRESS=''
|
||||
IMPRESSUM_EMAIL='elias.gew@hotmail.com'
|
||||
IMPRESSUM_PHONE=''
|
||||
IMPRESSUM_COMPANY_REG=''
|
||||
|
|
|
|||
|
|
@ -169,6 +169,8 @@
|
|||
<p class="text-center text-gray-600 text-xs mt-6">
|
||||
© 2026 AstraOS |
|
||||
<a href="/impressum" class="hover:text-gray-400 transition">Impressum</a>
|
||||
|
|
||||
<a href="/datenschutz" class="hover:text-gray-400 transition">Datenschutz</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1001,7 +1001,7 @@ def request_reactivation():
|
|||
if not username:
|
||||
flash("Benutzername ist erforderlich.", "danger")
|
||||
return redirect(url_for('account_disabled'))
|
||||
user = accounts_collection.find_one({'username': username}) if accounts_collection else None
|
||||
user = accounts_collection.find_one({'username': username}) if accounts_collection is not None else None
|
||||
if not user:
|
||||
flash("Benutzername nicht gefunden.", "danger")
|
||||
return redirect(url_for('account_disabled'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue