mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:31:42 +00:00
fixup! fix: confirmar usuaries en la invitación #13247
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e35d09e343
commit
3a7c9c6b62
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class UsuariesController < ApplicationController
|
||||||
# Si es una cuenta manual que no está confirmada aun,
|
# Si es una cuenta manual que no está confirmada aun,
|
||||||
# aprovechar para reconfirmarla.
|
# aprovechar para reconfirmarla.
|
||||||
if !usuarie.confirmed? && !usuarie.created_by_invite?
|
if !usuarie.confirmed? && !usuarie.created_by_invite?
|
||||||
usuarie.generate_confirmation_token!
|
usuarie.send :generate_confirmation_token!
|
||||||
end
|
end
|
||||||
|
|
||||||
usuarie.deliver_invitation
|
usuarie.deliver_invitation
|
||||||
|
|
Loading…
Reference in a new issue