modify mai.c, cerrect login bug.
Merge remote-tracking branch 'origin'