cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Fix "ghost user" behaviour #339

Closed gregorylegarec closed 7 years ago

gregorylegarec commented 7 years ago

During tests and development sessions, it may happen that a user is authentified in the onboarding process (after filling his password), but does not exists anymore in DB (after a manual removal). In this precise situation, it is not possible anymore to save user's password during the password step.

To avoid that, we decided to throw an error, as this state is not exepcted in a production environment, and could trigger other unexpected error during the onboarding process.

CPatchane commented 7 years ago

Thanks @gregorylegarec