File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
php-config/ProfileRequestHandler.config.d Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 76
76
77
77
<h2 class =" h3" >{ _ ' Contact Information' } </h2 >
78
78
79
+ { field inputName= " FirstName" label= " First Name" type= " text" default =$User -> FirstName }
80
+ { field inputName= " LastName" label= " Last Name" type= " text" default =$User -> LastName }
79
81
{ field inputName= " Email" label= " Email" type= " email" default =$User -> Email }
80
82
{ field inputName= " Phone" label= " Phone" type= " tel" default =$User -> Phone }
81
83
{ field inputName= " Twitter" label= " Twitter" type= " text" default =$User -> Twitter }
132
134
</form >
133
135
</div >
134
136
</div >
135
- { /block }
137
+ { /block }
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ ProfileRequestHandler::$ profileFields [] = 'FirstName ' ;
4
+ ProfileRequestHandler::$ profileFields [] = 'LastName ' ;
3
5
ProfileRequestHandler::$ profileFields [] = 'Twitter ' ;
4
6
5
7
ProfileRequestHandler::$ onBeforeProfileValidated = function ($ User , $ profileChanges , $ requestData ) {
You can’t perform that action at this time.
0 commit comments