fixes #85: Emailed message of Password Reset Request
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
require 'socket'
|
||||
|
||||
module Danbooru
|
||||
class Configuration
|
||||
# The version of this Danbooru.
|
||||
@@ -10,6 +12,11 @@ module Danbooru
|
||||
"Danbooru"
|
||||
end
|
||||
|
||||
# The hostname of the server.
|
||||
def hostname
|
||||
Socket.gethostname
|
||||
end
|
||||
|
||||
# Contact email address of the admin.
|
||||
def contact_email
|
||||
"webmaster@#{server_host}"
|
||||
|
||||
Reference in New Issue
Block a user