yesodweb/yesod — Issue #199: Dummy auth backend causes spurious POST to loginDest
Author: wjt
Created: 2012-01-04 09:38:27+00:00
State: open

In Yesod 0.9.4, using the Dummy auth plugin results in a POST request being submitted to the `loginDest`. To reproduce:

* Create a new scaffolded site;
* Replace `import Yesod.Auth.OpenID` with `import Yesod.Auth.Dummy`, and `authPlugins = [authOpenId]` with `authPlugins = [authDummy]`;
* Log into the site.

You'll find yourself back at the root, which will proudly declare:

> You are now logged in
>
> **Method Not Supported**
>
> Method "POST" not supported

This didn't occur with Yesod 0.9.3. I can't immediately see why this behaviour might have changed (and the lack of tags in the repository puts me off bisecting!). The BrowserId plugin still seems to work as expected.