Skip to content
Snippets Groups Projects
Commit bffe32ef authored by Alexander Purr's avatar Alexander Purr Committed by Dorian Merz
Browse files

refs #20654 [fid_bbi] forcing input of first- and last name in bbi forms (back to fid standard)

* by deleting form-config overwrite
** on requesting registartion mail
** on completing registration
** on updating user profile
parent 94e14db4
No related merge requests found
......@@ -32,7 +32,6 @@ use fid\Controller\RecordControllerDelegatorFactory;
$config = [
'forms' => [
'user-init-form' => require 'user-init-form.php',
'user-create-form' => require 'user-create-form.php',
'user-update-form' => require 'user-update-form.php',
'fid-acquisition-form' => require 'fid-acquisition-form.php',
......
......@@ -25,20 +25,6 @@ use fid_bbi\InputFilter\UserCreateFormInputFilter;
return [
'elements' => [
'firstname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
'lastname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
'home_library' => [
'spec' => [
'attributes' => [
......@@ -60,12 +46,6 @@ return [
],
'input_filter' => [
'type' => UserCreateFormInputFilter::class,
'firstname' => [
'required' => false,
],
'lastname' => [
'required' => false,
],
'home_library' => [
'required' => false,
],
......
<?php
/**
* Copyright (C) 2020 Leipzig University Library
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
* @author Gregor Gawol <gawol@ub.uni-leipzig.de>
* @author Alexander Purr <purr@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU GPLv2
*/
return [
'elements' => [
'firstname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
'lastname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
],
'input_filter' => [
'firstname' => [
'required' => false,
],
'lastname' => [
'required' => false,
],
],
];
\ No newline at end of file
......@@ -22,20 +22,6 @@
return [
'elements' => [
'firstname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
'lastname' => [
'spec' => [
'attributes' => [
'required' => false,
],
],
],
'home_library' => [
'spec' => [
'attributes' => [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment