heartcombo / devise

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

Add feature require_password_to_destroy #5697

Open willianveiga opened 5 months ago

willianveiga commented 5 months 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 5 months ago

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