From d2e41df13cf3ccee5c40cef1fd23828a291a9d8c Mon Sep 17 00:00:00 2001
From: Coffeelot <slutastalkamig@gmail.com>
Date: Sat, 21 Sep 2024 12:10:50 +0200
Subject: [PATCH] fix: auth

---
 client/main.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/main.lua b/client/main.lua
index 776bc4c..a5d8e86 100644
--- a/client/main.lua
+++ b/client/main.lua
@@ -2386,7 +2386,7 @@ end
 local function openUi(data)
     if not uiIsOpen then
         CurrentName = data.name
-        CurrentAuth = data.type
+        CurrentAuth = data.auth
         CurrentCrew = data.crew
         notify(Lang("esc"))
         SetNuiFocus(true,true)