Problem/Motivation

As a user, if I am viewing a page on my user account and select a logout link created by FB api, or if the user is an admin user and is viewing another user's profile at user/[uid], and the user selects a logout via FB button, the page will refresh and give the ugly "you are not authorized to view this page.

Proposed resolution

Smarter redirection on fb_user.module around line 138.

Remaining tasks

Patch is attached to first comment with fix.

User interface changes

None

API changes

None

Original report by [username]

N/A

CommentFileSizeAuthor
#1 1271618-1.patch701 bytesjghyde

Comments

jghyde’s picture

StatusFileSize
new701 bytes

Patch attached.