Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't confirm on invitation, only on accept #234

Merged
merged 1 commit into from
Sep 5, 2012
Merged

Don't confirm on invitation, only on accept #234

merged 1 commit into from
Sep 5, 2012

Conversation

adzap
Copy link
Contributor

@adzap adzap commented Sep 5, 2012

The confirmable model sets the confirmed_at value when you call
skip_confirmation! and this means that a user which has yet to
accept the inviate and considered confirmed.

Instead, I've use hacky workaround so that a new record being invited will
respond with false to confirmation_required? and thereby not sending
a confirmation email on creation.

The confirmable model sets the confirmed_at value when you call
skip_confirmation! and this means that a user which has yet to
accept the inviate and considered confirmed.

Instead, I've use hacky workaround so that a new record being invited will
respond with false to confirmation_required? and thereby not sending
a confirmation email on creation.
@travisbot
Copy link

This pull request fails (merged 38e5881 into a603559).

@adzap
Copy link
Contributor Author

adzap commented Sep 5, 2012

Travis failure is VM powerdown for REE. All others passed.

scambra pushed a commit that referenced this pull request Sep 5, 2012
Don't confirm on invitation, only on accept
@scambra scambra merged commit e7979f1 into scambra:master Sep 5, 2012
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.

3 participants