Some smal fixes and updated Zutil

This commit is contained in:
Ziver Koc 2017-08-01 23:21:49 +02:00
parent 99c9b136d7
commit 75f09064f7
4 changed files with 27 additions and 13 deletions

View file

@ -125,7 +125,7 @@ public class Zallery extends HttpServlet{
user.logout( response );
if( !user.isEmailVerified() )
msgs.add(MessageType.ERROR, "Your email has not been verified!");
msgs.add(MessageType.WARNING, "Your email has not been verified!");
else if( !user.isEnabled() )
msgs.add(MessageType.ERROR, "Your account is disabled! Please contact the website administrator.");
else