mistermarco/WMD — Issue #79: Error on redirect to restricted page after login
Author: mistermarco
Created: 2012-02-23 22:40:52+00:00
State: open
Labels: 7.x-3.x, Bug

## Test

* Login as admin
* Go to admin/config/webauth/settings
* Update the Custom Restrict Message to something you'll recognize
* Create a page and use content_access to block access from all roles except for a role you won't have (say, Stanford:faculty)
* Logout
* Log in as a SUnet User

### Expected

You are automatically logged in, redirected to the restricted page and see the custom restrict message you set above

### Actual

You are automatically logged in, but the following error appears:

Fatal error: Only variables can be passed by reference in /afs/ir.stanford.edu/group/wmddev/cgi-bin/d7dev/themes/bartik/templates/page.tpl.php on line 123