mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
assign key
This commit is contained in:
@@ -4,7 +4,7 @@ class User < Person
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
|
||||
|
||||
before_create :assign_key
|
||||
before_validation :assign_key
|
||||
validates_presence_of :profile
|
||||
|
||||
before_validation :do_bad_things
|
||||
|
||||
Reference in New Issue
Block a user