• Resolved lolofora

    (@lolofora)


    Hello there,

    I have installed and configured the plugin on 4 websites

    A, B, C, D

    I’ve got all the green lights (outgoing/incoming actions) everywhere on all 4 websites for all websites each time.

    And I have created an account on website A via the front end.

    It is created on website B, C and D

    But not with the same passwords.

    While if I create an account on website A via the back end the password works fine on website B, C and D.

    Has anyone encountered the same issue ?

    lolo

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    If there is front end update of a user profile, it is done by a third party (plugin or theme). It is up to the third party to call the correct hooks to notify other plugins of the update. Please contact the author of the theme or plugin responsible for the chose front end.

    Hey there,

    I am experiencing the same issue. I am using a Gravity Form to let users change their password (with the User Registration add-on from GF).

    However, the password does not change on the linked site. I thought GF would work out of the box. Or do I need to send in a ticket with them?

    Changing the password in the backend does sync to the other site.

    Plugin Author Alexandre Froger

    (@frogerme)

    Please check v2.0.3 (just deployed) – compatibility with the Password action has been greatly improved (tested with GF + User Reg add-on, but also for other 3rd party).

    Hi Alexandre,

    Thank you for your reply! I just updated both sites to v2.0.3 and tried again, but it still doesn’t seem to work.. I also don’t see any actions in the logs when I change the password with the GF form..

    What else can we try?

    Plugin Author Alexandre Froger

    (@frogerme)

    One way could be to go to /wp-admin/admin.php?page=gf_export&subview=export_form and export the form you have issues with, then put it here in a code block (typing /code) ; something like this:

    {"0":{"fields":[{"type":"password","id":1,"formId":1,"label":"Password","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":[{"id":"1","label":"Enter Password","name":""},{"id":"1.2","label":"Confirm Password","name":""}],"displayOnly":true,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":"","passwordStrengthEnabled":"","passwordVisibilityEnabled":"","enableEnhancedUI":0,"layoutGroupId":"d28f8c61","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""}],"button":{"type":"text","text":"","imageUrl":"","width":"auto","location":"bottom","layoutGridColumnSpan":12},"title":"testt","description":"est","version":"2.7.3","id":1,"markupVersion":2,"nextFieldId":3,"useCurrentUserAsAuthor":true,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"confirmations":[{"id":"65687a0403f88","name":"Default Confirmation","isDefault":true,"type":"message","message":"Thanks for contacting us! We will get in touch with you shortly.","url":"","pageId":"","queryString":""}],"notifications":[{"id":"65687a0403d71","isActive":true,"to":"{admin_email}","name":"Admin Notification","event":"form_submission","toType":"email","subject":"New submission from {form_title}","message":"{all_fields}"}]},"version":"2.7.3"}

    Please make sure not to include any data you may want to keep private.
    With the export, I would be able to import it in my test environment and troubleshoot.

    Here it is!

    {"0":{"title":"Wachtwoord wijzigen","description":"","labelPlacement":"top_label","descriptionPlacement":"below","button":{"type":"text","text":"Aanpassen","imageUrl":""},"fields":[{"type":"password","id":1,"label":"Wachtwoord wijzigen","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":[{"id":"1","label":"Wachtwoord invoeren","name":"","customLabel":"Nieuw wachtwoord","placeholder":"Nieuw wachtwoord"},{"id":"1.2","label":"Wachtwoord bevestigen","name":"","placeholder":"Wachtwoord bevestigen"}],"displayOnly":true,"formId":1,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","passwordStrengthEnabled":"","passwordVisibilityEnabled":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""}],"version":"2.4.16","id":1,"nextFieldId":2,"useCurrentUserAsAuthor":true,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"subLabelPlacement":"below","cssClass":"","enableHoneypot":false,"enableAnimation":false,"save":{"enabled":false,"button":{"type":"link","text":"Opslaan en later doorgaan"}},"limitEntries":false,"limitEntriesCount":"","limitEntriesPeriod":"","limitEntriesMessage":"","scheduleForm":false,"scheduleStart":"","scheduleStartHour":"","scheduleStartMinute":"","scheduleStartAmpm":"","scheduleEnd":"","scheduleEndHour":"","scheduleEndMinute":"","scheduleEndAmpm":"","schedulePendingMessage":"","scheduleMessage":"","requireLogin":false,"requireLoginMessage":"","confirmations":[{"id":"5e201e1db748f","name":"Standaardbevestiging","isDefault":true,"type":"message","message":"Je wachtwoord is gewijzigd.","url":"","pageId":0,"queryString":"","disableAutoformat":false,"conditionalLogic":[]}],"notifications":[]},"version":"2.7.17"}

    Thanks in advance!

    Plugin Author Alexandre Froger

    (@frogerme)

    I have now tested with the provided export, and here is the details of the steps undertaken.

    The following actions are enabled on both websites: login, logout, update, password.
    The form is embedded in a test page, and linked to a User Registration Feed with update user action, with the password field set to “Wachtwoord wijzigen”.

    I then tested the form on the test page, with a bogus test password, and a hard-coded log trace in the codebase of my test environment to output the raw password in server logs, by adding php_log( $pass ); on line 56 of class-wprus-api-password.php, and php_log( $data ); on line 196 of class-wprus-api-update.php.
    This is not a safe practice for production websites, and was only done for test purposes. If a developer reads this and wants to troubleshoot this way, PLEASE DO NOT do this outside of a safe test environment or anything other than test, bogus data.

    Here are the conclusions:

    • The server logs show the password in clear all along the update process, up to the request being sent to the remote website.
    • Upon reload of the admin area, the WPRUS logs show a trace with 2 token renewals, a logout, a login, and an update. This is because upon password reset with GF, the user is logged out and re-logged in to reset the session.
    • On the remote website, the WPRUS logs show a trace of logout attempt (my user was already logged out there), 2 token renewals and their associated success messages, a login, and an update action with its associated data payload ; the logs mirror the source website, and the payload contains the string [user_pass] => ** HIDDEN **, indicating the password was transferred over.
    • The user email address receives a password change notification for the source website
    • After logout, both the source and the remote websites require the new password

    I really hope there will be some information in there that will help you troubleshoot on your end ; from my end, with this test and unless a bug report is filed with code & replication procedure, WPRUS is confirmed compatible with GF + User Reg add-on.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Account password creation ok and synched via admin but not via front end’ is closed to new replies.