5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-05 07:35:45 +00:00

fix: mostrar siempre los links de recuperación

por si se vencen, poder encontrarlos
This commit is contained in:
f 2023-03-28 19:18:30 -03:00
parent 40e68da16a
commit 944668edbe

View file

@ -18,14 +18,13 @@
new_password_path(resource_name, params: locale) new_password_path(resource_name, params: locale)
%br/ %br/
- if devise_mapping.confirmable? && controller_name != 'confirmations' - if devise_mapping.confirmable?
= 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/