heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
23.83k stars 5.53k forks source link

Add feature require_password_to_destroy #5697

Open willianveiga opened 2 weeks ago

willianveiga commented 2 weeks ago

Another attempt to move it forward. Based on #5029.

Fixes 4816.

cc @fladson and @hayssac.

Probably one for @tegon, @sobrinho and/or @feliperenan.

sobrinho commented 2 weeks ago

Looks good at first glance but I didn't run it by myself.