Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6594

Enable configuration of $obfuscateEmail variable in user sheet

    Details

    • Development Priority:
      High
    • Difficulty:
      Trivial
    • Similar issues:

      Description

      Currently, $obfuscateEmail variable is hard coded in page XWiki.XWikiUserProfileSheet. We should set a default value after we have checked that it is not yet set. I propose to update that page from :

      #set($obfuscateEmail = true)
      

      to

      #if("$!{obfuscateEmail}" == '')
        #set($obfuscateEmail = true)
      #end
      

      Tested locally on a 3.0-M3 with this change and updating xwikivars.vm, works as expected.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              tcamberlin Thibaut Camberlin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: