From dd443d4a8661637e4478f4c4aa11e3b57910e71c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 6 May 2022 23:54:05 -0300 Subject: UCP - If PIN is not confirmed, show prompt before cleaning screen --- npc/commands/ucp.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index d64449c5e..c4cf2a054 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -66,8 +66,10 @@ function script UserCtrlPanel { next; break; case 4: - if (!validatepin()) + if (!validatepin()) { + next; break; + } if (!@lgc || @query) { query_sql("SELECT email,logincount,last_ip FROM `login` WHERE account_id="+getcharid(3)+" LIMIT 1", .@email$, .@lgc, .@ip$); @email$=.@email$; -- cgit v1.2.3-60-g2f50