emory-libraries / avalon

Avalon Media System – Samvera Application
http://www.avalonmediasystem.org/
Apache License 2.0
0 stars 0 forks source link

adds password confirmation in LTI user creation method #108

Closed alexBLR closed 3 years ago

alexBLR commented 3 years ago

Changes:

Previous error: ActiveModel::UnknownAttributeError (unknown attribute 'password' for User.)

bwatson78 commented 3 years ago

I verified that the amended user creation method worked after running export DATABASE_AUTH=true from the command line, then running User.find_or_create_by_username_or_email('bob', 'bob@example.com', 'lti') from rails console. There are errors that are occurring, but it appears that they are unrelated to the scope of the changed code. I have asked @alexBLR via slack if he feels the same way about the errors.