Revision 51775
Added by Sofia Baltzi about 6 years ago
UrlConstructor.java | ||
---|---|---|
3 | 3 |
import org.apache.log4j.Logger; |
4 | 4 |
|
5 | 5 |
import javax.servlet.http.HttpServletRequest; |
6 |
import java.util.UUID; |
|
6 | 7 |
|
7 | 8 |
/** |
8 | 9 |
* Created by sofia on 8/3/2018. |
... | ... | |
47 | 48 |
return resultPath; |
48 | 49 |
} |
49 | 50 |
|
51 |
public static String getVerificationLink(String path , String verificationCode ) { |
|
52 |
|
|
53 |
return path + "?code=" + verificationCode; |
|
54 |
|
|
55 |
} |
|
56 |
|
|
50 | 57 |
} |
Also available in: Unified diff
Add verificationCode in email's verificationLink for registration and forgot password