mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
29 lines
466 B
JavaScript
29 lines
466 B
JavaScript
/*
|
|
* Licensed under the MIT public license.
|
|
*
|
|
* Part of LdapCherry.
|
|
*
|
|
* Functions to autofill form fields from other fields.
|
|
*
|
|
*/
|
|
|
|
function lcUid(firstname, lastname){
|
|
return 'test';
|
|
}
|
|
|
|
function lcDisplayName(firstname, lastname){
|
|
return 'test';
|
|
}
|
|
|
|
function lcMail(firstname, lastname, domain){
|
|
return 'test@test';
|
|
}
|
|
|
|
function lcUidNumber(firstname, lastname){
|
|
return 42;
|
|
}
|
|
|
|
function lcHomeDir(firstname, lastname){
|
|
return '/home/test';
|
|
}
|