Fix this bug, if OIDC button text was customized, the default text will be added if a user click on 'Forgot your password' and valid or ckick on 'Register'

This commit is contained in:
Emile NDAGIJIMANA 2021-11-10 16:48:47 +01:00
parent 3ce1e8220b
commit 81f5b6a428
4 changed files with 12 additions and 3 deletions

View file

@ -180,6 +180,10 @@ Template.userFormsLayout.events({
templateInstance.isLoading.set(false);
});
}
isCheckDone= false;
},
'click #at-signUp'(event, templateInstance){
isCheckDone= false;
},
'DOMSubtreeModified #at-oidc'(event){
if(alreadyCheck <= 2){

View file

@ -109,6 +109,9 @@ template(name="boardTeamGeneral")
b
| {{_ 'add-teams'}}
br
i.addTeamsLabelcss
| {{_ 'to-create-teams-contact-admin'}}
br
i.addTeamsLabelcss
| {{_ 'add-teams-label'}}
th