Sha256: dbd7c6f2a94c30731747700c24c16d6a081f4ca09097d07dac9ce4d56f026e55
Contents?: true
Size: 328 Bytes
Versions: 19
Compression:
Stored size: 328 Bytes
Contents
# frozen_string_literal: true module Mutations class ResetAdminPasswordWithToken < GraphqlDevise::Mutations::UpdatePasswordWithToken field :authenticatable, Types::AdminType, null: false def resolve(reset_password_token:, **attrs) super do |admin| controller.sign_in(admin) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems