How to change GAE local server's login in user account?

account, google-app-engine, python

Solution

You can go directly to /_ah/login and change who you're logged in as. (Or to log out, or to change user/admin-status.)

Problem

There is an edit page on my GAE app only the admin can log in. It works well on GAE server. But on the local dev machine, when I go to ``` http://localhost:9080/editpage ``` it says ``` Current logged in user test@example.com is not authorized to view this page. ``` How can I change test@example.com to my admin account? I use python.

Original source