Skip to content

Implementing password resets #75

@nateau

Description

@nateau

Hi team,
I have (what I think is) a working DPAE setup - it worked with simple passwords and I am now trying to get it to work with DB passwords. When using password reset,
"Password reset
Enter your username to obtain an email to reset your password

Username: ... [Submit]" and clicking 'Submit', I get "A password reset request has been sent. Please check your email."

However, there is no email and I get
"DBD::mysql::db do failed: Unknown column 'pw_reset_code' in 'field list' at /Library/Perl/5.18/Dancer/Plugin/Database/Core/Handle.pm line 310." (to STDERR)
and no further information in Dancer2 logfile or STDERR.

Are there more diagnostics I should be seeing or ...?
I can see pw_reset_code mentioned in the PM but I'm not sure how it translates to a select query in Dancer2::Plugin::Auth::Extensible::Provider::Database (which is how I assume the above error is arising)

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