aboutsummaryrefslogtreecommitdiff
path: root/src/ReplyForm.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-30 22:11:19 -0300
committerLibravatar Renard 2019-09-30 22:11:19 -0300
commit1f0bf371094010f751f903937a600931ef7ea205 (patch)
treea8535d7f24e9e569a83e977a9d6bb368803fc1e5 /src/ReplyForm.js
parent00177c2fb08c41aac4ca645c5658f5ad83598d59 (diff)
downloadbai-client-1f0bf371094010f751f903937a600931ef7ea205.tar.gz
bai-client-1f0bf371094010f751f903937a600931ef7ea205.tar.xz
bai-client-1f0bf371094010f751f903937a600931ef7ea205.zip
Añadidos: Settings ✨
Diffstat (limited to 'src/ReplyForm.js')
-rw-r--r--src/ReplyForm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ReplyForm.js b/src/ReplyForm.js
index 4fe45a8..bac770e 100644
--- a/src/ReplyForm.js
+++ b/src/ReplyForm.js
@@ -63,7 +63,8 @@ class ReplyForm extends Component {
selectedFile
} = this.state;
const { currentBoard, parent } = this.props;
- let password = localStorage.getItem("password");
+ let password = JSON.parse(localStorage.getItem("settings"))
+ .postPassword;
let data = {
board: currentBoard.dir,
parent: parent,