Skip to content

Commit 4474088

Browse files
Add FirstName and LastName to profileFields via php-config
1 parent b391c0c commit 4474088

File tree

1 file changed

+2
-0
lines changed
  • php-config/ProfileRequestHandler.config.d

1 file changed

+2
-0
lines changed

php-config/ProfileRequestHandler.config.d/laddr.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
ProfileRequestHandler::$profileFields[] = 'FirstName';
4+
ProfileRequestHandler::$profileFields[] = 'LastName';
35
ProfileRequestHandler::$profileFields[] = 'Twitter';
46

57
ProfileRequestHandler::$onBeforeProfileValidated = function($User, $profileChanges, $requestData) {

0 commit comments

Comments
 (0)