FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. egli
    3. Topics
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by egli

    • E

      Unsolved Allow user to change personal data (firstname etc.)

      Q&A
      • • • egli
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      A

      @egli If you're using TypeScript/JavaScript you can implement a simple page with inputs and call

      const newUserFields = { firstName: form.firstName, lastName: form.lastName, }; await fusionAuthClient.patchUser(user.id, { user: newUserFields, });

      or use the Update user REST API to pass firstName and other fields.

    • E

      Unsolved Filter Preferred Languages. Should contain only specific languages.

      Q&A
      • • • egli
      4
      1
      Votes
      4
      Posts
      716
      Views

      danD

      Hiya @egli !

      Thanks for posting it on GitHub issues. Please share the link so others discovering this issue can upvote it or see the progress on it.

      Currently there's no way to limit the inputs on the default select box.

      Two options.

      Since you are using a custom form, you could create your own select list with just the languages you want to support.

      Store this to a different value (user.data.custom_preferred_languages). You could then set up a user.create.complete webhook to copy the value of user.data.custom_preferred_languages to user.preferredLanguages`. That way this language will be used in the future. (The initial email won't have that info, however).

      Another option would be to have a javascript function that would run whenever the user.preferredLanguage select box is displayed, and would trim the values down to what you desire.

      I realize this isn't the smoothest, but it should get you the control you want.

    • E

      Unsolved Email Templates localization not working

      Q&A
      • • • egli
      4
      0
      Votes
      4
      Posts
      642
      Views

      danD

      @egli This is not currently possible, but will be released in 1.47: https://github.com/FusionAuth/fusionauth-issues/issues/1738