MCPcopy Create free account
hub / github.com/error311/FileRise / resetSecrets

Function resetSecrets

public/js/adminPanel.js:2012–2034  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2010 };
2011
2012 const resetSecrets = () => {
2013 [
2014 s3AccessKeyEl,
2015 s3SecretKeyEl,
2016 s3SessionTokenEl,
2017 sftpPasswordEl,
2018 sftpPrivateKeyEl,
2019 sftpPrivateKeyPassEl,
2020 ftpPasswordEl,
2021 webdavPasswordEl,
2022 smbPasswordEl,
2023 gdriveClientSecretEl,
2024 gdriveRefreshTokenEl,
2025 onedriveClientSecretEl,
2026 onedriveRefreshTokenEl,
2027 dropboxAppSecretEl,
2028 dropboxRefreshTokenEl,
2029 ].forEach(el => {
2030 if (!el) return;
2031 el.value = '';
2032 el.placeholder = '';
2033 });
2034 };
2035
2036 const resetForm = () => {
2037 editingId = '';

Callers 1

resetFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected