File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313* Allow admins to add/remove project managers
1414* Fix add/remove manager http returns
1515* Fix typo in cron due to remove_tp_reservation changes
16+ * Allow spaces, - and ' in user first/last names
1617
1718## 1.4.32 (2025-04-22)
1819
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export class RegisterComponent implements OnInit {
137137 this . msg = 'User identifier too short (min 4 characters)' ;
138138 return ;
139139 }
140- if ( ! this . first_name . match ( / ^ [ a - z A - Z à - ü ] + $ / ) || ! this . last_name . match ( / ^ [ a - z A - Z à - ü ] + $ / ) ) {
140+ if ( ! this . first_name . match ( / ^ [ a - z A - Z à - ü - ' ] + $ / ) || ! this . last_name . match ( / ^ [ a - z A - Z à - ü - ' ] + $ / ) ) {
141141 this . msg = 'Name contains unauthorized characters' ;
142142 return ;
143143 }
Original file line number Diff line number Diff line change @@ -754,7 +754,7 @@ export class UserComponent implements OnInit {
754754 this . update_error_msg = 'Missing field: why do you need an account' ;
755755 return ;
756756 }
757- if ( ! this . user . firstname . match ( / ^ [ a - z A - Z à - ü ] + $ / ) || ! this . user . lastname . match ( / ^ [ a - z A - Z à - ü ] + $ / ) ) {
757+ if ( ! this . user . firstname . match ( / ^ [ a - z A - Z à - ü - ' ] + $ / ) || ! this . user . lastname . match ( / ^ [ a - z A - Z à - ü - ' ] + $ / ) ) {
758758 this . update_error_msg = 'Name contains unauthorized characters' ;
759759 return ;
760760 }
You can’t perform that action at this time.
0 commit comments