Skip to content

Commit 9f77aba

Browse files
authored
Merge pull request #33166 from Lukasdoe/master
Add button disable on submit for login grant
2 parents a9c23e1 + 1a81745 commit 9f77aba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/js/login/grant.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ document.querySelector('form').addEventListener('submit', function(e) {
66
wrapper.getElementsByClassName('icon-confirm-white').forEach(function(el) {
77
el.classList.remove('icon-confirm-white')
88
el.classList.add(OCA.Theming && OCA.Theming.inverted ? 'icon-loading-small' : 'icon-loading-small-dark')
9+
el.disabled = true
910
})
1011
})

0 commit comments

Comments
 (0)