-- Add in front end model validation by Chaw Su
--Fix backend admin cannot login error.

Signed-off-by: qiansen1386 <qiansen1386@gmail.com>