mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for site create
This commit is contained in:
parent
d3fc35989d
commit
3233494281
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ class Site < Sequel::Model
|
|||
|
||||
def before_create
|
||||
self.email_confirmation_token = SecureRandom.hex 3
|
||||
super
|
||||
end
|
||||
|
||||
# def after_destroy
|
||||
|
|
Loading…
Add table
Reference in a new issue