Authentication and scope

0 views
Skip to first unread message

Rafalski

unread,
Nov 22, 2009, 2:10:01 PM11/22/09
to Authlogic
Right now I have accounts and users. Accounts have many users, and
user has one account.

When the user logs in, how can I verify the user with the account, so
select user where email=email etc etc and account_id=ID ?

Right now any user that is in the database can log in to any account,
even accounts they don't belong to. How can I fix that?
Reply all
Reply to author
Forward
0 new messages