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,13 +18,14 @@
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)
- if controller_name != 'unlocks'
= link_to t('.didn_t_receive_unlock_instructions'), = link_to t('.didn_t_receive_unlock_instructions'),
new_unlock_path(resource_name, params: locale) new_unlock_path(resource_name, params: locale)
%br/ %br/