Commits

Ahmed Soliman committed a8eb456

fixed a stupid bug preventing admin from knowing the state of registrations

  • Participants
  • Parent commits d1697c9

Comments (0)

Files changed (1)

File app/controllers/Account.java

     public static void verify(String token){
     	Member member = Member.find("confirmCode", token).first();
     	if (member != null){
+    		member.confirmCode = "";
     		member.save();
     		AccountsMailer.sendWelcomeMail(member);
     		// auto-login this user.