Skip to content
#

Heroku

heroku logo

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

Here are 7,569 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,
papercups
reichert621
reichert621 commented Oct 19, 2020

Problem
The pathname field on the widget_settings table is sometimes longer than the max character limit for DB fields of type "string".

Solution
Migrate the pathname fields on the widget_settings table from type "string" to type "text":

https://github.com/papercups-io/papercups/blob/master/lib/chat_api/widget_settings/widget_setting.ex#L18

**Questions, or need help gett

Organization
heroku
Website
www.heroku.com
Wikipedia
Wikipedia
You can’t perform that action at this time.