Skip to content

Instantly share code, notes, and snippets.

@felds
Last active May 4, 2017 18:32
Show Gist options
  • Select an option

  • Save felds/1aeb449049964574b4fb02c934b5b978 to your computer and use it in GitHub Desktop.

Select an option

Save felds/1aeb449049964574b4fb02c934b5b978 to your computer and use it in GitHub Desktop.
Map of the FOSUB paths

FOSUB paths

/login                  # GET       - show the login form
/login_check            # POST      - check the login information
/logout                 # GET       - logs the user out
/profile
    /                   # GET       - show my profile
    /edit               # GET, POST - edit my profile
    /change-password    # GET, POST - show and process the form
/register
    /                   # GET, POST - registration form
    /check-email        # GET       - message: check your email
    /confirm/{token}    # GET       - receive newly-created user from email
    /confirmed          # GET       - message: the email was confirmed successfully
/resetting
    /request            # GET       - request a token for creating a new password
    /send-email         # POST      - process the form and send the email
    /check-email        # GET       - message: check your email
    /reset/{token}      # GET, POST - reset form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment