Mortise cracked on desk leg, not sure what to do
I am building a desk for my daughter and since she wants the rails and styles (or is it called an apron for a desk?) flush with the legs. The sides are 3/4 Maghanoy with 1/4 tenons. While fitting the mortise for the tenon, the top of the mortise cracked. I am concerned that gluing might not be enough, so I was thinking of adding through pins (with glue) on top of gluing and clamping for at least 24 hours. Out of 4 legs, three cracked because I learned on the last one that if I used a clamp hold the wood together it did not crack.
My question is, will the through pins (and glue) be enough or should I just remake the legs and hope it does not crack again? I am concerned that the joint will fail in the future and seeing that this is my first desk with flush sides using mortise and tenon, I am not sure what to do.
thanks!

​
