A user interface has one purpose: to show correctly represent the current state of the application to the user. A UI is build from components, which have two responsibilities: to show information (data) to users, and to allow users to use (interact) with the…
Hi Ace Subido,
First of all, thanks for the article.
Just wanted to suggest that, you don't need to override the
create method in the
SessionsController for this to work.
The devise-two-factor gem’s
two_factor_authenticatable strategy takes care of this. If…