Search

Only lock role. I think it is not reasonable to avoid password confirmation. Please I don't want to bother you too much as it is really a minor trouble. My message was just for information to michael-e.

Did you try to add Lock Activation to Create new member event? Members wiki about create new member

Sorry forget about it. Good luck with the set up.

@jaaf: Either this is a bug in Members, or there is something wrong with your setup. Unfortunately, I am not able to replicate your issue.

  1. Can you tell us the versions of Symphony and Members?
  2. We should debug this systematically. In your form tag (of the Member registration form template), can you please add ?debug to the action, then log in to Symphony and try to register a Member? In the debug output you will see the events node. Can you post that output? (Your form tag should look like <form action="?debug" method="post">.)

Here is what is returned when making a password mismatch.

<member-login-info logged-in="no" />

<members-new result="error">

    <filter name="permission" status="passed" />

    <message message-id="102">Entry encountered errors when saving.</message>

    <mot-de-passe label="Mot de passe" type="invalid" message-id="302" message="Mot de passe confirmation does not match." />

    <post-values>

        <identifiant>paul</identifiant>

        <mot-de-passe>

            <password>paul389</password>

            <confirm>paul</confirm>

        </mot-de-passe>

        <email>jaaf64@zoraldia.com</email>

    </post-values>

</members-new>

And this with a too short password

    <member-login-info logged-in="no" />

    <members-new result="error">

        <filter name="permission" status="passed" />

        <message message-id="102">Entry encountered errors when saving.</message>

        <mot-de-passe label="Mot de passe" type="invalid" message-id="302" message="Mot de passe is too short. It must be at least 6 characters." />

        <post-values>

            <identifiant>paul</identifiant>

            <mot-de-passe>

                <password>pa</password>

                <confirm>pa</confirm>

            </mot-de-passe>

            <email>jaaf64@zoraldia.com</email>

        </post-values>

    </members-new>

</events>

All this seems rather good. Probably you are right and my config is bad.

Ok.I got it.

        <passed><p>Allons! Vous savez que vous ne devez pas faire ça!</p></passed>
    </messages>
</filter>

Instead of

<filter handle="permission">
    <messages>
        <passed/>
        <failed><p>Allons! Vous savez que vous ne devez pas faire ça!</p></failed>
    </messages>
</filter>

I was probably a bit tired writing this.

LOL, now that is a cool mistake!

I am glad that you found it!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details