Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi. Can anyone teach me how i can validate passwords after updating into 6.8.
    cause my login APIs are stopped working due that update. and i can not find any way to fix it.

    i need to migrate my api from phpass into bcrypt but with the $WP$ prefix can’t see any solution.
    here is my snippets of my api:

    # ...
    from passlib.hash import phpass

    class Authenticator:

    def __init__(self, flask_app):
    self.flask_app = flask_app

    def authenticate(self, email, password):
    user_password = self.get_user_password(email)
    # user password from DB looks like: $P$.....
    # password looks like (Plain text): "something"
    if not phpass.verify(password, user_password):
    return False, Response.wrong_credentials(self.flask_app.site_url)

    return True, None
    • This reply was modified 11 months, 1 week ago by oazm22.
Viewing 1 replies (of 1 total)