webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Login Permissions #82

Closed moimart closed 12 years ago

moimart commented 12 years ago

Hi there,

I noticed that passing perms to the login method does not do actually anything when you call init() afterwards (the scope in the fb JS is never changed). I changed that by passing the perms to init instead. Perhaps it'd better to keep the perms in login, set them privately in the class and have init() reusing them when called. I can do that if you don't like the approach of this patch.

Thanks for your work!

Br, Moises