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,359 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,
paolodamico
paolodamico commented Oct 4, 2020

Currently our preflight/ endpoint is accessible at any time, even after the instance has already been correctly deployed. We should remove these routes after the app has been deployed (i.e. at least one user has been created in the instance), to avoid potentially leaking some information about the instance's setup (as we add more functionality to this page). To accomplish this,

  • The `_prefligh
papercups
reichert621
reichert621 commented Oct 11, 2020

Is your feature request related to a problem? Please describe.
We have a lot of any types in our frontend. Let's start replacing these with more descriptive types.

Describe the solution you'd like
In all the components in assets/src/components/conversations, replace as many any types with Conversation/Message/Account/User types from https://github.com/papercups-io/paperc

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