Skip to content

Errors when using reconfirmable #591

@asecondwill

Description

@asecondwill

If you want the user to confirm their email address when they change it (which seems like a must if you are getting them to confirm it on sign up), there are errors.

  1. The field is missing in the schema.
    error: undefined method unconfirmed_email=' for an instance of Spree::User`

Fixed by adding it:

rails generate migration AddUnconfirmedEmailToSpreeUsers unconfirmed_email:string

2 The user.send_confirmation_instructions method call needs to be overriden to send the store argument I suppose. Which you do

Error:
wrong number of arguments  send_confirmation_instructions(current_store)

I'm not sure where that would be changed.

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