Loading src/settings-user-security.js +1 −3 Original line number Diff line number Diff line (function() { const OriginalXhr = window.XMLHttpRequest /** * */ function PatchedXhr() { const xhr = new OriginalXhr() // We want to reload the page if password change request is successful xhr.addEventListener('load', function() { if (xhr.responseURL.includes('/settings/personal/changepassword') && xhr.status >= 200 && xhr.status < 300) { setTimeout(() => window.location.reload(), 1000) Loading Loading
src/settings-user-security.js +1 −3 Original line number Diff line number Diff line (function() { const OriginalXhr = window.XMLHttpRequest /** * */ function PatchedXhr() { const xhr = new OriginalXhr() // We want to reload the page if password change request is successful xhr.addEventListener('load', function() { if (xhr.responseURL.includes('/settings/personal/changepassword') && xhr.status >= 200 && xhr.status < 300) { setTimeout(() => window.location.reload(), 1000) Loading