I have been trying to use the same database for 2 Rails applications.
I want to use the same data for both the apps including the
authentication. But if I try to login using the credentials created in
one app in the other app it doesn't work. I use restful_authentication
for the logins. Though I have sessions also in the database I have no
intention to share them between the applications.
In further tests I imported the production db and set it up in my
local computer just to see if authentication works provided the same
username/password. But it doesn't work. Here I am using the same
application code.
Have anybody faced this problem?
Thanks
-subbu
Can you check the salt that is being used in both the authentications?
If its different...that might be the reason... Authentications are all done
after encryptions....
Regards
Satish N Kota
Hi there,
Thanks
-subbu
--
You received this message because you are subscribed to the Google Groups
"BANGALORE RUG-Ruby Users Group" group.
To post to this group, send an email to bangal...@googlegroups.com.
To unsubscribe from this group, send email to
bangalorerug...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/bangalorerug?hl=en-GB.