Skip to content

Error with sending account verification email with named auth class #232

Answered by janko
Samuelodan asked this question in Q&A
Discussion options

You must be logged in to vote

I only now took a look at the backtrace 🤦🏻‍♂️ You'll notice it's not related to emails at all, but to the Rodauth::Rails.model call in your account model file, you need to change it to Rodauth::Rails.model(:v1) (or to Rodauth::Model(V1::RodauthMain), which new rodauth-rails versions will generate).

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Samuelodan
Comment options

@janko
Comment options

@Samuelodan
Comment options

@janko
Comment options

Answer selected by Samuelodan
@Samuelodan
Comment options

@Samuelodan
Comment options

@janko
Comment options

@Samuelodan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants