Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle gracefully missing :scope in params (#193)
When params do not include the required scope key (e.g. user) then TwoFactorAuthenticatable throws exception "undefined method :[] for nil:NilClass". This change is to handle such scenario gracefully
- Loading branch information