Skip to content

Conversation

valentine
Copy link
Contributor

I've tried to make the documentation in the initializer.rb file (which gets copied to config/sorcery.rb on install) clearer for new users.

I've also added the magic_login submodule to the list, since that seems like a recent addition.

@joshbuker
Copy link
Member

Thanks for your help @valentine! I'll review this when I have some time and merge it in. Any other help with the documentation is greatly appreciated. :)

@joshbuker joshbuker self-requested a review January 15, 2019 18:52
# Default: `:uid`
#
# user.provider_uid_attribute_name =
end

# This line must come after the 'user config' block.
# Define which model authenticates with sorcery.
config.user_class = '<%= model_class_name %>'
config.user_class = "<%= model_class_name %>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I prefer single quotes for strings that do not require interpolation. Not a blocking issue however.

@joshbuker joshbuker merged commit 283f023 into Sorcery:master Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants