mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Prompt user email on password reset
This commit is contained in:
@ -31,6 +31,20 @@ ComunicWeb.components.account.interface = {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Check whether an email address is linked to an account or not
|
||||
*
|
||||
* @param {String} email The email address to check
|
||||
* @param {function} callback
|
||||
*/
|
||||
existsMail: function(email, callback){
|
||||
var apiURI = "account/exists_email";
|
||||
var params = {
|
||||
email: email
|
||||
};
|
||||
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
|
||||
},
|
||||
|
||||
/**
|
||||
* Request the export of all the data of the user
|
||||
*
|
||||
|
Reference in New Issue
Block a user