fix a bug when login failed.
Signed-off-by: crzidea <micro-tech@foxmail.com>
Merge branch 'master' of https://github.com/crzidea/crzcontrol

Conflicts:
	routes/user.js

Signed-off-by: crzidea <micro-tech@foxmail.com>
resolve conflict of user.js.
Signed-off-by: crzidea <micro-tech@foxmail.com>