Comments (7)
@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.
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.
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.
@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.
@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.
Thank you @mcelicalderon! Looking forward for this enhancement.
from graphql_devise.
Hello @mcelicalderon !
Any news regarding this?
Thank you!
from graphql_devise.
Related Issues (20)
- Dont change dependencies in 0.18.2 version HOT 2
- Override `graphql_name` to allow for shared mutations HOT 2
- GraphQL::Schema::DuplicateNamesError HOT 5
- how to set current_resource for both authenticated and unauthenticated fields HOT 1
- Support for ruby-graphql v2 HOT 3
- A class must be provided when mounting a model. String values are no longer supported HOT 3
- Mount only necessary operations in existing schema. HOT 3
- Authenticate non-root fields HOT 6
- Cannot make it work with Mongoid HOT 5
- `context[:controller]` is nil when trying to login HOT 1
- Scoping auth tokens to more than one model HOT 1
- If expiry was in epoch seconds, it may be out of the range of INT. HOT 1
- Disable introspection HOT 1
- Support graphql v2.1 HOT 4
- NoMethodError: undefined method `resource=' for nil:NilClass HOT 5
- Add ability to customize raise_user_error_list and raise_user_error_list
- Add ability to customize raise_user_error_list method HOT 11
- NoMethodError: undefined method `case_insensitive_keys' for nil:NilClass HOT 5
- Is there a way to use the default devise template views? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql_devise.