• I’ve a couple of sites that uses only email addresses for login/usernames so the “email address or username” is invalid for that use.

    Is there any chance that on a future release we could have a couple of extra settings that allows us to set the text/modify the text shown to users on line 135 of somfrp-functions.php. i.e. to allow the user to specify the ’email address or username’ part or even that whole part of the message “Please enter your email address or username”.

    $lost_text = esc_html__( 'Please enter your email address. You will receive a link to create a new password via email.', 'frontend-reset-password' );

    and changes to line 46 and 47 of frontend-reset-password/templates/lost_password_form.php to give:

    <label for="somfrp_user_info"><?php _e( 'Registered Email Address', 'frontend-reset-password' ); ?></label>
    <input type="text" name="somfrp_user_info" id="somfrp_user_info" required autocomplete="email">

    The line 47 change just changes the “autocomplete” from “username” to “email”.

    Not a major issue, just a nicety if they could also be set from the settings page. (I’ve modified the code locally, but obviously not ideal if you update).

    Many thanks in advance, and not a problem if it requires too much testing time/etc…

    • This topic was modified 7 months, 1 week ago by shinerweb.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wp Enhanced

    (@wpenhanced)

    Hi there!

    Thanks for the message and the suggestion.

    I have added this to the dev list, can’t confirm on a timescale but will get to it when we can

    Thanks
    Pete

    Hanno

    (@bsoftde)

    Would be even better if there was no autocomplete at all …

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.