If $\tan 2\alpha \cdot \tan \alpha = 1$, then what is $\alpha$? Different methods give different answers.
Note carefully for future reference that in solving equations you need to use $\Leftrightarrow$ not $\Rightarrow$, or to do something equivalent.
Both your answers are correct as far as they go, but incomplete.
In your first method, for $\alpha=n\pi+\frac\pi6$ we check that $$\tan2\alpha\tan\alpha=\sqrt3\frac1{\sqrt3}=1\ ,$$ so this is a correct solution, while for $\alpha=n\pi-\frac\pi6$ we have $$\tan2\alpha\tan\alpha=(-\sqrt3)(-\frac1{\sqrt3})=1\ ,$$ so this is also a correct solution.
For your second solution there are three cases: $n=3k$ or $n=3k+1$ or $n=3k+2$. The first gives $$\tan2\alpha\tan\alpha=\sqrt3\frac1{\sqrt3}=1\ ,$$ so this is a correct solution. The second gives $\alpha=k\pi+\frac\pi2$, so $\tan\alpha$ is undefined and this must be ruled out. The third gives $$\tan2\alpha\tan\alpha=\sqrt3\frac1{\sqrt3}=1\ ,$$ so this is also a correct solution. Therefore your second method should give an answer $$\alpha=\tfrac13(n\pi+\tfrac\pi2)\ ,\quad\hbox{where $n=3k$ or $n=3k+2$}.$$ The actual numbers obtained in this solution are then the same as in your first method.
Always check your answers if you start with an equation and derive (potential) solutions.
Your first method is correct.
In the second method, notice that the equation $$\tan 2\alpha = \frac{1}{\tan\alpha}$$ is not valid when $\alpha = \frac{\pi}{2} + n\pi, n \in \mathbb{Z}$ or when $\alpha = \frac{\pi}{4} + \frac{n\pi}{2}, n \in \mathbb{Z}$ or when $\alpha = n\pi, n \in \mathbb{Z}$. Therefore, in your solution $$\alpha = \frac{\pi}{6} + \frac{n\pi}{3}, n \in \mathbb{Z}$$ $n \neq 3k + 1$, $k \in \mathbb{Z}$ since that would imply $$\alpha = \frac{\pi}{6} + k\pi + \frac{\pi}{3} = \frac{\pi}{2} + k\pi, k \in \mathbb{Z}$$ which is not valid.
If we replace $n$ by $3k$, we obtain $$\alpha = \frac{\pi}{6} + k\pi, k \in \mathbb{Z}$$ If we replace $n$ by $3k - 1$, we obtain $$\alpha = \frac{\pi}{6} + k\pi - \frac{\pi}{3} = -\frac{\pi}{6} + k\pi, k \in \mathbb{Z}$$ which agrees with your first solution.