Git Product home page Git Product logo

Comments (7)

mcelicalderon avatar mcelicalderon commented on June 8, 2024 2

@vitaliiorlov we haven't had the chance to work on this yet and we'll do it as soon as possible. You are welcome to propose an MR for us to review if you have the time before we do

from graphql_devise.

mcelicalderon avatar mcelicalderon commented on June 8, 2024 1

Thank you for looking into this, @vitaliiorlov! I'll take a look asap. It looks like something that might be easy to fix

from graphql_devise.

mcelicalderon avatar mcelicalderon commented on June 8, 2024 1

Thank you for the link, @vitaliiorlov. So it is based on localized messages. I still think that's something we can implement

from graphql_devise.

mcelicalderon avatar mcelicalderon commented on June 8, 2024

@vitaliiorlov after taking a closer look at this, I see now that we based our implementation on DTA's implementation https://github.com/lynndylanhurley/devise_token_auth/blob/6b0659f18c678b319913d0fb053e96aa555857aa/app/controllers/devise_token_auth/sessions_controller.rb#L13

I still think this is something we can implement, but I need to take a longer look as it's not just removing something I thought we had overwritten. Also, looking at Devise's code https://github.com/search?q=repo%3Aheartcombo%2Fdevise%20inactive_message&type=code I'm not sure those messagesare easy to override? They return symbols and in one place it's interpolated. Could you please point to the docs where it's explained how to use this method?

from graphql_devise.

vitaliiorlov avatar vitaliiorlov commented on June 8, 2024

@mcelicalderon sure, here it is: https://github.com/heartcombo/devise/wiki/How-To:-Customize-user-account-status-validation-when-logging-in
And I think they handle it there: https://github.com/heartcombo/devise/blob/e2242a95f3bb2e68ec0e9a064238ff7af6429545/lib/devise/failure_app.rb#L108

from graphql_devise.

vitaliiorlov avatar vitaliiorlov commented on June 8, 2024

Thank you @mcelicalderon! Looking forward for this enhancement.

from graphql_devise.

vitaliiorlov avatar vitaliiorlov commented on June 8, 2024

Hello @mcelicalderon !

Any news regarding this?

Thank you!

from graphql_devise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.