Skip to content

Commit 61edef1

Browse files
committed
Clear user & pass from LoginDialog on handleClose
1 parent 5f81029 commit 61edef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/Data/Browser/LoginDialog.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class LoginDialog extends React.Component {
2525
}
2626

2727
handleClose() {
28-
this.setState({ open: false });
28+
this.setState({ username: '', password: '', open: false });
2929
}
3030

3131
async login() {

0 commit comments

Comments
 (0)