mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 01:36:23 +00:00
Merge branch 'issue-13247' of https://0xacab.org/sutty/sutty into panel.sutty.nl
This commit is contained in:
commit
f3d3089549
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ class UsuariesController < ApplicationController
|
|||
# Si es una cuenta manual que no está confirmada aun,
|
||||
# aprovechar para reconfirmarla.
|
||||
if !usuarie.confirmed? && !usuarie.created_by_invite?
|
||||
usuarie.confirmation_token = nil
|
||||
usuarie.send :generate_confirmation_token!
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue