mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
5
app/models/verification_code.rb
Normal file
5
app/models/verification_code.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class VerificationCode < ApplicationRecord
|
||||
def effective?
|
||||
created_at + 10.minute > Time.current
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user