Add email_level as updatable user field
Dieser Commit ist enthalten in:
Ursprung
e0a2525cb0
Commit
7841ee8101
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
|
@ -46,7 +46,8 @@ const userProperties = [
|
|||
'location',
|
||||
'website',
|
||||
'bio_raw',
|
||||
'trust_level'
|
||||
'trust_level',
|
||||
'email_level'
|
||||
];
|
||||
|
||||
const notificationLevels = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
class CustomWizard::Mapper
|
||||
attr_accessor :inputs, :data, :user
|
||||
|
||||
USER_FIELDS = ['name', 'username', 'email', 'date_of_birth', 'title', 'locale', 'trust_level']
|
||||
USER_FIELDS = ['name', 'username', 'email', 'date_of_birth', 'title', 'locale', 'trust_level', 'email_level']
|
||||
PROFILE_FIELDS = ['location', 'website', 'bio_raw']
|
||||
|
||||
def self.user_fields
|
||||
|
|
Laden …
In neuem Issue referenzieren