Comments (4)
If you already have devise working in your app and you want to use your existing User model to work with Alchemy, you don't need to require the alchemy-devise gem because it brings you a new user model with migrations.
To tell Alchemy to use your User model, you need to create an initializer as described here:
https://github.com/magiclabs/alchemy_cms#authentication-user-model
If you notice any issues feel free to file a report here or ask in the google user group. You also should have a look into the User class of the alchemy-devise gem: https://github.com/magiclabs/alchemy-devise/blob/master/app/models/alchemy/user.rb
Thanks
from alchemy-devise.
A good documentation on how to add your user model can be found here: https://github.com/magiclabs/alchemy_cms/blob/master/lib/alchemy/auth_accessors.rb#L1-L30
from alchemy-devise.
Thanks very much, I will work on it and see ..
from alchemy-devise.
I guess we can close this? Fell free to open another issue, if you still can't get it working.
from alchemy-devise.
Related Issues (20)
- ssl_required? error in admin/login path HOT 9
- Release new version to make this compatible with Alchemy CMS 5.1 HOT 1
- Incompatibility with alchemy_cms ^6 HOT 2
- Update Tests for RSpec 3 HOT 1
- Change of user_root path helper changes devise redirect behaviour
- Update devise dependency HOT 1
- Can't setup the project for contributions HOT 3
- Upgrade path: Using the generator messes up passwords HOT 4
- Getting undefined method `ssl_required` only on production HOT 3
- user with role member can open /admin/users HOT 7
- Undefined method `ssl_required?` on Login HOT 5
- Latest Gem Release is 2.1.0 HOT 1
- CVE-2015-8314 in devise
- Adding more devise modules HOT 2
- User module shows the wrong icon HOT 1
- No configuration option for Alchemy Validation with Devise. HOT 8
- Module configuration via Alchemy configuration HOT 2
- Accessing current_user in before filter causes CSRF protection to fail
- Setting up app using Rails 6 and alchemy-devise fails with autoloading error HOT 3
- Configuration of devise modules 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 alchemy-devise.