The Wayback Machine - https://web.archive.org/web/20201116193043/https://github.com/topics/pug
Skip to content
#

pug

Here are 2,389 public repositories matching this topic...

juanda99
juanda99 commented Sep 30, 2016

It would be better to use bcrypt, beause its more secure as it's slower (uses more computing cycles).
Your code could also be better:

You wouldn't need salt field in User model, because it's saved into the same field as password does.

For authentication, something like:

var mongoose = require('mongoose'),
  bcrypt = require('bcryptjs');

var userSchema = mongoose.Schema({
  email: String,
ivanvoznyakovsky
ivanvoznyakovsky commented Jun 12, 2018

Description

Deploying a single file takes at minimum 30sec whereas vs-deploy does it immediately.

{
    "deploy.reloaded": {
      "targets": [
        {
           "type": "ftp",
           "dir": "/public_html",
           "host": "...",
           "port": 21,
           "secure": false,
           "user": "...",
           "password": "...",
           "mappings": 

Improve this page

Add a description, image, and links to the pug topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pug topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.