hide rename behind password

This commit is contained in:
Víctor Losada Hernández 2024-12-14 22:36:45 +01:00
parent d1cba3457c
commit c0b8bbe0a8

View File

@ -29,7 +29,8 @@ class AccountPage extends React.Component {
});
return Promise.reject('Invalid username');
}
if (!prompt('This feature is a work in progres at the moment, and can only be used by developers of the project, please enter the password', 'RenameFeature')) return Promise.reject('User canceled rename');
//if (!confirm('Are you sure you want to rename your account?')) return Promise.reject('User canceled rename');
this.setState({