mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 03:56:21 +00:00
cuando las invitaciones vencen les usuaries no se pueden volver a loguear
This commit is contained in:
parent
70ed3476e4
commit
adf579d3a1
1 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ Devise.setup do |config|
|
||||||
# The period the generated invitation token is valid. After this
|
# The period the generated invitation token is valid. After this
|
||||||
# period, the invited resource won't be able to accept the invitation.
|
# period, the invited resource won't be able to accept the invitation.
|
||||||
# When invite_for is 0 (the default), the invitation won't expire.
|
# 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.
|
# Number of invitations users can send.
|
||||||
# - If invitation_limit is nil, there is no limit for invitations,
|
# - 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
|
# Resend invitation if user with invited status is invited again
|
||||||
# Default: true
|
# Default: true
|
||||||
# config.resend_invitation = false
|
config.resend_invitation = true
|
||||||
|
|
||||||
# The class name of the inviting model. If this is nil,
|
# The class name of the inviting model. If this is nil,
|
||||||
# the #invited_by association is declared to be polymorphic.
|
# the #invited_by association is declared to be polymorphic.
|
||||||
|
|
Loading…
Reference in a new issue