Posts by Isadora Bastos • 10 points
8 posts
-
0
votes1
answer39
viewsA: error when applying template to dropzonejs
In line 766 of Dropzone.min.js some variable is like "Undefined", in this question they had a similar question, see if it helps you:…
-
-1
votes2
answers70
viewsA: Passport-local / I don’t understand the structure of the function
app.post("/register", function(req, res) { User.register(new User({username: req.body.username}), req.body.password, //aqui é requerido o username e o password function(erro, user) { if(erro) {…
-
-1
votes1
answer385
viewsA: Node.js Passport.authenticate is not a Function, how do I fix this?
Do something like this, see if it works: app.post("/signup", function(req, res){ User.register({usernameField: req.body.usernameField}, req.body.passwordField, function(err, user){ if (err) {…
-
-1
votes1
answer768
viewsA: Get the logged-in user id of a nodes.js session
If you want to get the id from the url is req.query.id But I use with Nosql, I do not know if it works with SQL. See if express has this possibility to use with SQL:…
-
0
votes1
answer119
viewsA: Error with Passport plug in Heroku
You didn’t mention your code, nor the steps you used to deploy. You can try it: Composer require Laravel/Passport Register config/app.php: Laravel Passport Passportserviceprovider::class, Run…
-
0
votes1
answer49
viewsA: PHP file download taking all html code instead of file content
Have you ever tried to put an echo before this fwrite? So: Source: https://www.w3schools.com/php/func_filesystem_fwrite.asp…
-
0
votes1
answer62
viewsA: HTML5 - Data-title with <a> Does Not Appear
A } key is missing at the end of your css file, but other than that, I have not identified anything else.
-
0
votes1
answer64
viewsA: Get radio button value via jQuery and call a code
Your question is not very clear, but if when you say call another code is redirect the page you can use href. HTML: <form method="POST" action="questoes.php"> <label>Tipo da…