@@ -73,145 +73,145 @@ class AccountManagement implements AccountManagementInterface
73
73
* @deprecated Get rid of Helpers in Password Security Management
74
74
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
75
75
*/
76
- const XML_PATH_REGISTER_EMAIL_TEMPLATE = 'customer/create_account/email_template ' ;
76
+ public const XML_PATH_REGISTER_EMAIL_TEMPLATE = 'customer/create_account/email_template ' ;
77
77
78
78
/**
79
79
* Configuration paths for register no password email template
80
80
*
81
81
* @deprecated Get rid of Helpers in Password Security Management
82
82
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
83
83
*/
84
- const XML_PATH_REGISTER_NO_PASSWORD_EMAIL_TEMPLATE = 'customer/create_account/email_no_password_template ' ;
84
+ public const XML_PATH_REGISTER_NO_PASSWORD_EMAIL_TEMPLATE = 'customer/create_account/email_no_password_template ' ;
85
85
86
86
/**
87
87
* Configuration paths for remind email identity
88
88
*
89
89
* @deprecated Get rid of Helpers in Password Security Management
90
90
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
91
91
*/
92
- const XML_PATH_REGISTER_EMAIL_IDENTITY = 'customer/create_account/email_identity ' ;
92
+ public const XML_PATH_REGISTER_EMAIL_IDENTITY = 'customer/create_account/email_identity ' ;
93
93
94
94
/**
95
95
* Configuration paths for remind email template
96
96
*
97
97
* @deprecated Get rid of Helpers in Password Security Management
98
98
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
99
99
*/
100
- const XML_PATH_REMIND_EMAIL_TEMPLATE = 'customer/password/remind_email_template ' ;
100
+ public const XML_PATH_REMIND_EMAIL_TEMPLATE = 'customer/password/remind_email_template ' ;
101
101
102
102
/**
103
103
* Configuration paths for forgot email email template
104
104
*
105
105
* @deprecated Get rid of Helpers in Password Security Management
106
106
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
107
107
*/
108
- const XML_PATH_FORGOT_EMAIL_TEMPLATE = 'customer/password/forgot_email_template ' ;
108
+ public const XML_PATH_FORGOT_EMAIL_TEMPLATE = 'customer/password/forgot_email_template ' ;
109
109
110
110
/**
111
111
* Configuration paths for forgot email identity
112
112
*
113
113
* @deprecated Get rid of Helpers in Password Security Management
114
114
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
115
115
*/
116
- const XML_PATH_FORGOT_EMAIL_IDENTITY = 'customer/password/forgot_email_identity ' ;
116
+ public const XML_PATH_FORGOT_EMAIL_IDENTITY = 'customer/password/forgot_email_identity ' ;
117
117
118
118
/**
119
119
* Configuration paths for account confirmation required
120
120
*
121
121
* @deprecated Get rid of Helpers in Password Security Management
122
122
* @see AccountConfirmation::XML_PATH_IS_CONFIRM
123
123
*/
124
- const XML_PATH_IS_CONFIRM = 'customer/create_account/confirm ' ;
124
+ public const XML_PATH_IS_CONFIRM = 'customer/create_account/confirm ' ;
125
125
126
126
/**
127
127
* Configuration paths for account confirmation email template
128
128
*
129
129
* @deprecated Get rid of Helpers in Password Security Management
130
130
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
131
131
*/
132
- const XML_PATH_CONFIRM_EMAIL_TEMPLATE = 'customer/create_account/email_confirmation_template ' ;
132
+ public const XML_PATH_CONFIRM_EMAIL_TEMPLATE = 'customer/create_account/email_confirmation_template ' ;
133
133
134
134
/**
135
135
* Configuration paths for confirmation confirmed email template
136
136
*
137
137
* @deprecated Get rid of Helpers in Password Security Management
138
138
* @see EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
139
139
*/
140
- const XML_PATH_CONFIRMED_EMAIL_TEMPLATE = 'customer/create_account/email_confirmed_template ' ;
140
+ public const XML_PATH_CONFIRMED_EMAIL_TEMPLATE = 'customer/create_account/email_confirmed_template ' ;
141
141
142
142
/**
143
143
* Constants for the type of new account email to be sent
144
144
*
145
145
* @deprecated Get rid of Helpers in Password Security Management
146
146
* @see EmailNotificationInterface::NEW_ACCOUNT_EMAIL_REGISTERED
147
147
*/
148
- const NEW_ACCOUNT_EMAIL_REGISTERED = 'registered ' ;
148
+ public const NEW_ACCOUNT_EMAIL_REGISTERED = 'registered ' ;
149
149
150
150
/**
151
151
* Welcome email, when password setting is required
152
152
*
153
153
* @deprecated Get rid of Helpers in Password Security Management
154
154
* @see EmailNotificationInterface::NEW_ACCOUNT_EMAIL_REGISTERED
155
155
*/
156
- const NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD = 'registered_no_password ' ;
156
+ public const NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD = 'registered_no_password ' ;
157
157
158
158
/**
159
159
* Welcome email, when confirmation is enabled
160
160
*
161
161
* @deprecated Get rid of Helpers in Password Security Management
162
162
* @see EmailNotificationInterface::NEW_ACCOUNT_EMAIL_REGISTERED
163
163
*/
164
- const NEW_ACCOUNT_EMAIL_CONFIRMATION = 'confirmation ' ;
164
+ public const NEW_ACCOUNT_EMAIL_CONFIRMATION = 'confirmation ' ;
165
165
166
166
/**
167
167
* Confirmation email, when account is confirmed
168
168
*
169
169
* @deprecated Get rid of Helpers in Password Security Management
170
170
* @see EmailNotificationInterface::NEW_ACCOUNT_EMAIL_REGISTERED
171
171
*/
172
- const NEW_ACCOUNT_EMAIL_CONFIRMED = 'confirmed ' ;
172
+ public const NEW_ACCOUNT_EMAIL_CONFIRMED = 'confirmed ' ;
173
173
174
174
/**
175
175
* Constants for types of emails to send out.
176
176
* pdl:
177
177
* forgot, remind, reset email templates
178
178
*/
179
- const EMAIL_REMINDER = 'email_reminder ' ;
179
+ public const EMAIL_REMINDER = 'email_reminder ' ;
180
180
181
- const EMAIL_RESET = 'email_reset ' ;
181
+ public const EMAIL_RESET = 'email_reset ' ;
182
182
183
183
/**
184
184
* Configuration path to customer password minimum length
185
185
*/
186
- const XML_PATH_MINIMUM_PASSWORD_LENGTH = 'customer/password/minimum_password_length ' ;
186
+ public const XML_PATH_MINIMUM_PASSWORD_LENGTH = 'customer/password/minimum_password_length ' ;
187
187
188
188
/**
189
189
* Configuration path to customer password required character classes number
190
190
*/
191
- const XML_PATH_REQUIRED_CHARACTER_CLASSES_NUMBER = 'customer/password/required_character_classes_number ' ;
191
+ public const XML_PATH_REQUIRED_CHARACTER_CLASSES_NUMBER = 'customer/password/required_character_classes_number ' ;
192
192
193
193
/**
194
194
* Configuration path to customer reset password email template
195
195
*
196
196
* @deprecated Get rid of Helpers in Password Security Management
197
197
* @see Magento/Customer/Model/EmailNotification::XML_PATH_REGISTER_EMAIL_TEMPLATE
198
198
*/
199
- const XML_PATH_RESET_PASSWORD_TEMPLATE = 'customer/password/reset_password_template ' ;
199
+ public const XML_PATH_RESET_PASSWORD_TEMPLATE = 'customer/password/reset_password_template ' ;
200
200
201
201
/**
202
202
* Minimum password length
203
203
*
204
204
* @deprecated Get rid of Helpers in Password Security Management
205
205
* @see \Magento\Customer\Model\AccountManagement::XML_PATH_MINIMUM_PASSWORD_LENGTH
206
206
*/
207
- const MIN_PASSWORD_LENGTH = 6 ;
207
+ public const MIN_PASSWORD_LENGTH = 6 ;
208
208
209
209
/**
210
210
* Authorization level of a basic admin session
211
211
*
212
212
* @see _isAllowed()
213
213
*/
214
- const ADMIN_RESOURCE = 'Magento_Customer::manage ' ;
214
+ public const ADMIN_RESOURCE = 'Magento_Customer::manage ' ;
215
215
216
216
/**
217
217
* @var CustomerFactory
0 commit comments