1 year ago

#370132

test-img

Spyros

Rails + Devise: Disable Password Login (only oauth)

I am developing an app which for now needs to have registrations/password logins disabled, but they may be used in the future. Currently, it only allows logins/registrations via an oauth flow, which is setup using omniauth.

To disable registrations I removed :registerable from my User model and skipped registrations routes, but I am wondering what is the proper way to do the same thing for logins as well.

Any ideas?

ruby-on-rails

devise

0 Answers

Your Answer

Accepted video resources