mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: set linkValue for remote user fields
This commit is contained in:
@@ -151,6 +151,7 @@ helpers.getCustomUserFields = async function (callerUID, userData) {
|
||||
key: slugify(name),
|
||||
name,
|
||||
value,
|
||||
linkValue: validator.escape(String(value.replace('http://', '').replace('https://', ''))),
|
||||
type: isUrl ? 'input-link' : 'input-text',
|
||||
'min-rep': '',
|
||||
icon: 'fa-solid fa-circle-info',
|
||||
|
||||
Reference in New Issue
Block a user