mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 23:28:49 +01:00
Rename "Domaine" to "Domain" that is more like English.
Thanks to xet7 !
This commit is contained in:
parent
17a5505eda
commit
c136033c1f
5 changed files with 8 additions and 8 deletions
|
|
@ -30,12 +30,12 @@ Template.memberMenuPopup.helpers({
|
|||
},
|
||||
isSameDomainNameSettingValue(){
|
||||
const currSett = Settings.findOne();
|
||||
if(currSett && currSett != undefined && currSett.disableRegistration && currSett.mailDomaineName !== undefined && currSett.mailDomaineName != ""){
|
||||
if(currSett && currSett != undefined && currSett.disableRegistration && currSett.mailDomainName !== undefined && currSett.mailDomainName != ""){
|
||||
currentUser = Meteor.user();
|
||||
if (currentUser) {
|
||||
let found = false;
|
||||
for(let i = 0; i < currentUser.emails.length; i++) {
|
||||
if(currentUser.emails[i].address.endsWith(currSett.mailDomaineName)){
|
||||
if(currentUser.emails[i].address.endsWith(currSett.mailDomainName)){
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue