Moved email stuff to zutil and moved transoced to its own package
This commit is contained in:
parent
05048442a1
commit
7cac4e155c
20 changed files with 518 additions and 537 deletions
4
src/zall/action/user/SendVerificationEmailAction.java
Normal file → Executable file
4
src/zall/action/user/SendVerificationEmailAction.java
Normal file → Executable file
|
|
@ -9,9 +9,9 @@ import javax.servlet.http.HttpServletRequest;
|
|||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import zall.ZalleryAjax;
|
||||
import zall.action.ZalleryAction;
|
||||
import zall.bean.User;
|
||||
import zall.util.ZalleryEmail;
|
||||
import zall.util.msg.UserMessage;
|
||||
import zall.util.msg.UserMessage.MessageType;
|
||||
import zutil.db.DBConnection;
|
||||
|
|
@ -39,7 +39,7 @@ public class SendVerificationEmailAction extends ZalleryAction{
|
|||
|
||||
if( target_user != null ){
|
||||
if( user.isSuperUser() ){
|
||||
ZalleryAjax.sendEmailVerification(target_user);
|
||||
ZalleryEmail.sendVerificationEmail(target_user);
|
||||
|
||||
logger.info("Verification email sent successfully to: "+user.getEmail());
|
||||
if( out != null ) out.println("{ }");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue