mirror of
https://github.com/naturalcrit/naturalcrit.git
synced 2025-10-27 07:29:54 +00:00
hide rename behind password
This commit is contained in:
parent
d1cba3457c
commit
c0b8bbe0a8
@ -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({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user