mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Move function to a more logical location
This commit is contained in:
@ -30,15 +30,7 @@ const SettingsInterface = {
|
||||
var apiURI = "settings/set_general";
|
||||
ComunicWeb.common.api.makeAPIrequest(apiURI, settings, true, callback);
|
||||
},
|
||||
|
||||
/**
|
||||
* Get current user email address
|
||||
*/
|
||||
getMail: async function() {
|
||||
const res = await api("account/mail", null, true);
|
||||
return res.mail;
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Check the availability of the virtual directory for user
|
||||
*
|
||||
|
Reference in New Issue
Block a user