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,494 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,
timgl
timgl commented Oct 12, 2020

Is your feature request related to a problem?

When I'm filtering a view by cohort, I probably want to see how this cohort is made and I might want to edit it

image

Describe the solution you'd like

  • When filtering something by a cohort, show a link (using the component
papercups
reichert621
reichert621 commented Oct 19, 2020

Problem
When deleting a conversation in the database, we get an error if associated slack_conversation_threads exist.

This is because when we created the slack_conversation_threads table, we forgot to add an on_delete: :delete_all to the migration script.

This is what we did: https://github.com/papercups-io/papercups/blob/master/priv/repo/migrations/20200720153026_create_slack_c

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