-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move token_randomness config to Model::Config in initializer template (…
…#375) Move `token_randomness` config to the user module. Before it was placed in the template into the controller module, which leads to an error if configured: ```ruby NoMethodError: undefined method `token_randomness=' for module Sorcery::Controller::Config ``` The attribute is part of the `Sorcery::Model::Config` module though: https://github.com/Sorcery/sorcery/blob/d8ce48a407d0b24ed20c8c8bd5010c9b084cd1b0/lib/sorcery/model/config.rb#L41
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters