Giter Club home page Giter Club logo

cp-users-service's Introduction

cp-users-service's People

Contributors

arayb avatar butlerx avatar christinavoss avatar ckiss avatar danielbrierton avatar david-cahill avatar dberesford avatar glenpike avatar glentiki avatar grega avatar heyitsmaimai avatar iantocristian avatar jeddf avatar josmas avatar kennanseno avatar kevinmcgarry avatar lucalanziani avatar mihaidma avatar niccokunzmann avatar patch0 avatar peconia avatar sigismondm avatar wardormeur avatar william-riley-land avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cp-users-service's Issues

Save additional password hash in profile compatible format

Part of epic CoderDojo/community-platform#1290

What

Use user activity to trigger saving of additional password hash in a profile compatible format (bcrypt).

Why

This will prevent having to force recently active users to reset their passwords as a result of migration.

How

  • Add profile_password column to sys_users db
  • On login, if profile_password column not populated, encode and save.
  • On reset password or register, encode and save password to profile_password column.

Emails are not sent for the "Reset password" flow

I want to use smtp or amazon ses instead of maildev.

I configured the email service from the following location: /cp-local-development/workspace-zen/services/cp-email-service

In the docker-compose.yml, I've configured the AWS SES Key, secret, etc.

I am able to send email from curl, but the zen platform cannot use this service/configuration. I received the following error:

> zen_1             | 2018-11-28T21:35:45.484Z p8i8t5b65rwx/1543440943888/46/- WARN       plugin  web             ACT     3qf9f5g1oegh/lldfxhxunqu7       init:web        -       -       ACT     928ldyafmsf7/lldfxhxunqu7   role:web        The method name seneca.parent is deprecated. Please use seneca.prior instead.
> zen_1             | 2018-11-28T21:36:11.465Z p8i8t5b65rwx/1543440943888/46/- WARN       plugin  transport       ACT     odvb0sefynvv/zqd4ywn24c6z       hook:client,role:transport,type:web     client      no_message_id   {type:web,port:10303,host:users,path:/act,protocol:http,timeout:119445,pin:role:cd-users,cmd:*,msgprefix:seneca {kind:res,res:null,error:Error: socket hang up,time:{client_recv:1543440971465}}
> zen_1             | 2018-11-28T21:37:58.851Z p8i8t5b65rwx/1543440943888/46/- ERROR      act     remote$         OUT             cmd:*,role:cd-users     120002  {cmd:reset_password,role:cd-users,locality:en_US,email:[email protected],emailSubject:CoderDojo Zen Password R     ENTRY   CLIENT  -       seneca: Action cmd:*,role:cd-users failed: [TIMEOUT].   act_execute     {id:f6vrz8jj6yn0/0vzjc76shfl2,gate:false,ungate:false,desc:cmd:*,role:cd-users,plugin:{name:remote$,tag:null},t     Error: [TIMEOUT]
> zen_1             |     at Timeout._onTimeout (/usr/src/app/node_modules/gate-executor/gate-executor.js:95:21)
> zen_1             |     at ontimeout (timers.js:498:11)
> zen_1             |     at tryOnTimeout (timers.js:323:5)
> zen_1             |     at Timer.listOnTimeout (timers.js:290:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.