reset password refactor/flow
This commit is contained in:
1 parent
d6983e829a
commit
c0f3d851db
46 files changed
+906
-74
No files matched your search
Regular → Executable
+18
-1
@@ -16,7 +16,24 @@ public interface EmailProvider extends Provider {
|
||||
|
||||
public void sendEvent(Event event) throws EmailException;
|
||||
|
||||
public void sendPasswordReset(String link, long expirationInMinutes) throws EmailException;
|
||||
/**
|
||||
* Reset password sent from forgot password link on login
|
||||
*
|
||||
* @param code
|
||||
* @param link
|
||||
* @param expirationInMinutes
|
||||
* @throws EmailException
|
||||
*/
|
||||
public void sendPasswordReset(String code, String link, long expirationInMinutes) throws EmailException;
|
||||
|
||||
/**
|
||||
* Change password email requested by admin
|
||||
*
|
||||
* @param link
|
||||
* @param expirationInMinutes
|
||||
* @throws EmailException
|
||||
*/
|
||||
public void sendChangePassword(String link, long expirationInMinutes) throws EmailException;
|
||||
|
||||
public void sendVerifyEmail(String link, long expirationInMinutes) throws EmailException;
|
||||
|
||||
|
||||
Reference in new issue
Block a user