From 59f4f44107e0ae01716a031cebe2bd985dfe9b91 Mon Sep 17 00:00:00 2001
From: jamgames2 <73676126+jamgames2@users.noreply.github.com>
Date: Wed, 16 Dec 2020 05:54:21 +0700
Subject: [PATCH] Update profile.tpl.html (#1050)
- ADD ' type="button" ' for prevent ' Enter Button ' from keyboard that open telegram activation page.
---
src/templates/default/module/user/profile.tpl.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/templates/default/module/user/profile.tpl.html b/src/templates/default/module/user/profile.tpl.html
index 3cb8f315..57051839 100644
--- a/src/templates/default/module/user/profile.tpl.html
+++ b/src/templates/default/module/user/profile.tpl.html
@@ -37,7 +37,7 @@
{{ label_telegram_get_chat_id }}
{{ macro.input_field("text", "telegram_id", null, "telegram_id", label_telegram_chat_id, telegram_id, label_telegram_chat_id, "255", "telegram_id_help", label_telegram_id_description) }}
-
+
{{ macro.input_hidden("activate_telegram", "0") }}