Add scary message to the login through web

pull/2/head
hikariatama 2024-04-23 16:06:21 +00:00
parent 7e5488a4ae
commit c13cd19d12
1 changed files with 7 additions and 2 deletions

View File

@ -91,7 +91,9 @@ class Web:
else (
"termux"
if "com.termux" in os.environ.get("PREFIX", "")
else "docker" if "DOCKER" in os.environ else "vds"
else "docker"
if "DOCKER" in os.environ
else "vds"
)
)
]
@ -533,7 +535,10 @@ class Web:
(
"🌘🔐 <b>Click button below to confirm web application"
f" ops</b>\n\n<b>Client IP</b>: {ips}\n{cities}\n<i>If you did"
" not request any codes, simply ignore this message</i>"
" not request any codes, simply ignore this message</i>\n\n⚠️"
" <b>Warning!</b> If you did not make any actions in the web"
" interface, <b>do not click the button below</b>, as it might"
" give the user on the other end the access to your account!"
),
disable_web_page_preview=True,
reply_markup=markup,