public static async UniTask LoginFormSubmit(string username, string password) { try { var response = await ApiWrapper.AuthLogin(username, password); Login(response); } catch (Exception e) { Debug.Log(e); // TODO: Show error to player throw; } }
public static async UniTask LoginFormSubmit(string username, string password) { try { var response = await ApiWrapper.AuthLogin(username, password); Login(response); } catch (Exception e) { Debug.Log(e); // TODO: Show error to player throw; } }