Skip to content

need to add optional params to render_token_login_page on reset_password? #3675

Description

@KumanoTanaka

https://github.com/getredash/redash/blob/master/redash/handlers/authentication.py#L85

@routes.route(org_scoped_rule('/reset/<token>'), methods=['GET', 'POST'])
def reset(token, org_slug=None):
    return render_token_login_page("reset.html", org_slug, token)

☝️ should be the following?

@routes.route(org_scoped_rule('/reset/<token>'), methods=['GET', 'POST'])
def reset(token, org_slug=None):
    return render_token_login_page("reset.html", org_slug, token, False)

In our stand-alone env, we could not reset some user's password.
redash docker tag was: redash/redash:7.0.0.b18042

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions