Skip to content
Snippets Groups Projects
Commit 9b53c7d3 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix #168 - Turn off e-mail notifications by default

parent cf912e01
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ class User < ApplicationRecord
scope :admins, -> { where(admin: true) }
has_settings do |s|
s.key :notification_emails, defaults: { follow: true, reblog: true, favourite: true, mention: true }
s.key :notification_emails, defaults: { follow: false, reblog: false, favourite: false, mention: false }
end
def send_devise_notification(notification, *args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment