cuando las invitaciones vencen les usuaries no se pueden volver a loguear

This commit is contained in:
f 2021-01-11 12:20:48 -03:00
parent 70ed3476e4
commit adf579d3a1

View file

@ -140,7 +140,7 @@ Devise.setup do |config|
# The period the generated invitation token is valid. After this
# period, the invited resource won't be able to accept the invitation.
# When invite_for is 0 (the default), the invitation won't expire.
config.invite_for = 2.weeks
config.invite_for = 0
# Number of invitations users can send.
# - If invitation_limit is nil, there is no limit for invitations,
@ -166,7 +166,7 @@ Devise.setup do |config|
# Resend invitation if user with invited status is invited again
# Default: true
# config.resend_invitation = false
config.resend_invitation = true
# The class name of the inviting model. If this is nil,
# the #invited_by association is declared to be polymorphic.