Comments (6)
You need to specify more info than that. Most probably something you're doing wrong, and not an issue with Authlogic. Without you specifying some debugging info, it's not possible to find out right. I would suggest the Google Group instead of filing issues if it's just a question you have.
from authlogic.
Hi P, like grimen said, I really can't determine what the issue is with the information you provided. I can say there are multiple test in place for email validation ensuring that valid emails pass, and all of my tests are passing. So I'm guessing it has something to do with another plugin or gem you have. Maybe you made a change in your model and didn't realize it? If you continue to have problems check out google group and I'll help you there.
from authlogic.
hi!
I probably just did something silly - I'll try again by following the Railscast :)
Thanks,
P
from authlogic.
I encountered the same problem too. As to other folks on google groups - and there's no straight solution. A bummer to get so close - since authlogic is recommended for beginners - it's really frustrating to not get anywhere close and seeing other people with similar problem but no solution.
from authlogic.
Hi, Getting the same problem myself. Funny thing is, I got this working fine on my PC at work. When I did, I uploaded the project to github. I have just now pulled the project down to my laptop, installed the authlogic gem 2.1.3 ran a rake db create and then a db migrate and am now encountering this error when I attempt to register a new user.
So, the code is the same on both machines but it works on one but not the other.
Can someone think of a reason as to why this could be?
from authlogic.
Ok I have clocked what is going here. In case anyone else comes upon the same issue, it is since the migration to the 'add_users_password_reset_fields" database. This in turn created an 'email' column and made it an indexed field, thus no nulls allowed. so, when registering a user (with no email field present) I am getting the errors mentioned.
So, to get around this I simply added the following to the \app\views\users\ _form.erb
<%= form.label :email %>
<%= form.text_field :email %>
from authlogic.
Related Issues (20)
- Resetting passwords on Authlogic > 5 with default config allows blank passwords HOT 4
- act_like_restful_authentication for v5 HOT 2
- Hashing ascii values vs bytes with SHA512 HOT 3
- Support for SameSite: "None" cookies HOT 1
- No changelog for 6.1.0 HOT 4
- Ruby 2.7 warnings HOT 2
- Inconsistent credentials cookie behaviour HOT 6
- Password#password_changed? returns true when transitioning crypto providers HOT 4
- Raise an error if database connection is not established before using acts_as_authentic
- Thread Safety HOT 1
- Ruby 2.7 warnings even in 6.1.0 (but not in master) HOT 2
- There isn't Git tag for v5.2.0. HOT 1
- Rubydoc for Authlogic is broken HOT 1
- When logging out from inside an iframe the `user_credentials` cookie doesn't get deleted in chromium based browsers. HOT 1
- Upgrade dependencies to accept Rails 7 HOT 10
- Eliminating a deprecation warning in Rails 7.0 HOT 3
- Wrong error message when valid email format of not existing user and fake password provided HOT 1
- NameError - wrong constant name Object.const_get(camel_cased_word) HOT 1
- Reference documentation (rubydoc) is broken
- NameError: `@' is not allowed as an instance variable name HOT 3
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 authlogic.