Revision 52195
Added by Sofia Baltzi almost 6 years ago
modules/uoa-user-management/trunk/src/main/java/eu/dnetlib/openaire/user/utils/VerificationActions.java | ||
---|---|---|
129 | 129 |
return false; |
130 | 130 |
} |
131 | 131 |
|
132 |
/** |
|
133 |
* Checks if the verification code has expired |
|
134 |
* !!! Verification code expires in 24hours !!! |
|
135 |
*/ |
|
132 | 136 |
public boolean verificationCodeHasExpired(String username){ |
133 | 137 |
|
134 | 138 |
try { |
modules/uoa-user-management/trunk/src/main/java/eu/dnetlib/openaire/user/pojos/Email.java | ||
---|---|---|
6 | 6 |
public class Email { |
7 | 7 |
|
8 | 8 |
String email; |
9 |
String type; |
|
9 | 10 |
String subject; |
10 | 11 |
String body; |
11 | 12 |
String signature; |
... | ... | |
18 | 19 |
this.email = email; |
19 | 20 |
} |
20 | 21 |
|
22 |
public String getType() { |
|
23 |
return type; |
|
24 |
} |
|
25 |
|
|
26 |
public void setType(String type) { |
|
27 |
this.type = type; |
|
28 |
} |
|
29 |
|
|
21 | 30 |
public String getSubject() { |
22 | 31 |
return subject; |
23 | 32 |
} |
Also available in: Unified diff
Add type field in Email and comments about verification code in Verification Actions