mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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
|
def before_create
|
||||||
self.email_confirmation_token = SecureRandom.hex 3
|
self.email_confirmation_token = SecureRandom.hex 3
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
# def after_destroy
|
# def after_destroy
|
||||||
|
|
Loading…
Add table
Reference in a new issue