GreenStepsChatt/greensteps

Implement account restoration

开放

#93 创建于 2017年11月23日

 (0 条评论) (0 个反应) (0 位负责人)Ruby (30 个派生)auto 404
full stackhelp wantedready

仓库指标

星标
 (12 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently, if a user deletes their account, they have no way to restore it. They also cannot create a new account with the same email. We should give them a way to restore their account and give instruction in the flash message that's shown when they try to login and/or signup with the same email. Maybe also include a link somewhere near the signup and login forms.

Facebook handles by just un-deleting your account if you log back in. This seems like a nice, simple way to handle it. If we go this route, we'll have to get Devise's forgot password functionality to work with soft-deleted users.

贡献者指南