5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-01-19 19:33:38 +00:00

Revert "fix: mostrar siempre los links de recuperación"

This reverts commit 944668edbe.
This commit is contained in:
f 2023-03-29 16:43:19 -03:00
parent 951a045745
commit 167aaf5549

View file

@ -18,16 +18,17 @@
new_password_path(resource_name, params: locale) new_password_path(resource_name, params: locale)
%br/ %br/
- if devise_mapping.confirmable? - if devise_mapping.confirmable? && controller_name != 'confirmations'
= link_to t('.didn_t_receive_confirmation_instructions'), = link_to t('.didn_t_receive_confirmation_instructions'),
new_confirmation_path(resource_name, params: locale) new_confirmation_path(resource_name, params: locale)
%br/ %br/
- if devise_mapping.lockable? - if devise_mapping.lockable?
- if resource_class.unlock_strategy_enabled?(:email) - if resource_class.unlock_strategy_enabled?(:email)
= link_to t('.didn_t_receive_unlock_instructions'), - if controller_name != 'unlocks'
new_unlock_path(resource_name, params: locale) = link_to t('.didn_t_receive_unlock_instructions'),
%br/ new_unlock_path(resource_name, params: locale)
%br/
- if devise_mapping.omniauthable? - if devise_mapping.omniauthable?
- resource_class.omniauth_providers.each do |provider| - resource_class.omniauth_providers.each do |provider|