mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Get the list of security questions of the user
This commit is contained in:
		@@ -60,6 +60,20 @@ ComunicWeb.components.account.interface = {
 | 
			
		||||
		ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Given an email address, returns the security questions of a user
 | 
			
		||||
	 * 
 | 
			
		||||
	 * @param {String} email The email address of the account
 | 
			
		||||
	 * @param {function} callback
 | 
			
		||||
	 */
 | 
			
		||||
	getSecurityQuestions: function(email, callback){
 | 
			
		||||
		var apiURI = "account/get_security_questions";
 | 
			
		||||
		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