• Resolved medtr

    (@medtr)


    Hi,

    Status:
    i use SWPM alongside with other plugin that control downloads using wp roles.
    so when a user account is expired it’s clear that i need him to stay logged out so he cannot access those downloads (as SWPM don’t change user role after expiration).

    Problem:
    when a user account is expired it cannot login using SWPM login using and that’s what i need.
    however it can login using wp-login and access downloads.

    what is needed:
    either prevent user from login using wp-login
    or
    change user wp role upon membership level expiration

    Thank you
    (to devs i can create premium support ticket if you want)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    when a user account is expired it cannot login using SWPM login using and that’s what i need.
    however it can login using wp-login and access downloads.

    Are the downloads added in a protected page?

    Kind regards

    Thread Starter medtr

    (@medtr)

    Hi,
    i need guests to view downloads infos thats why they are in public posts.
    downloads protection depends on wp role so only gold and silver custom wp role can downloads , others can view infos only.

    i think the best solution is to make a check for swmp membership upon login froma any other form and return WP_Error() if it’s expired.

    i will try that and report back

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable login from wp-login’ is closed to new replies.