Process::getAfterLoginUrl() method

URL to redirect to after non-authenticated user is logged-in, or false if module does not support

When supported, module should gather any input GET vars and URL segments that it recognizes, sanitize them, and return a URL for that request. ProcessLogin will redirect to the returned URL after user has successfully authenticated.

If module does not support this, or only needs to support an integer 'id' GET var, then this method can return false.

Usage

$bool = Process::getAfterLoginUrl(Page $page);

Arguments

NameType(s)Description
pagePage

Requested page

Return value

bool string


Process methods and properties

API reference based on ProcessWire core version 3.0.236

Latest news

  • ProcessWire Weekly #520
    In the 520th issue of ProcessWire Weekly we'll check out some of the latest additions to the ProcessWire module's directory, share some highlights from the latest weekly update from Ryan, and more. Read on!
    Weekly.pw / 27 April 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer