Skip to content

Check reset password token mutation#10

Merged
mcelicalderon merged 2 commits intomasterfrom
check-reset-password-token
Sep 9, 2019
Merged

Check reset password token mutation#10
mcelicalderon merged 2 commits intomasterfrom
check-reset-password-token

Conversation

@mcelicalderon
Copy link
Copy Markdown
Member

No description provided.

@mcelicalderon mcelicalderon force-pushed the check-reset-password-token branch 2 times, most recently from eb75708 to c6eb381 Compare September 9, 2019 01:16
@mcelicalderon mcelicalderon marked this pull request as ready for review September 9, 2019 01:16
@mcelicalderon mcelicalderon force-pushed the check-reset-password-token branch from c6eb381 to 22c8b5b Compare September 9, 2019 01:24
context[:controller]
end

def set_auth_headers(resource)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

set_auth_headers is already present in line 63 of this fiel

private

def client_and_token(token)
if Gem::Version.new(DeviseTokenAuth::VERSION) <= Gem::Version.new('1.1.0')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps we can create a method for this check, It is also used in client method on the base mutation

@mcelicalderon mcelicalderon merged commit 457c093 into master Sep 9, 2019
@mcelicalderon mcelicalderon deleted the check-reset-password-token branch September 9, 2019 16:59
@mcelicalderon mcelicalderon added the enhancement New feature or request label Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants