Skip to content

npp_usr_logout

Jurek Muszyński edited this page Mar 28, 2024 · 3 revisions

void npp_usr_logout()

Description

Logs user out.

Returns

None

Example

void npp_app_main()
{
    // ...

    else if ( REQ("logout") )
    {
        npp_usr_logout();
        REDIRECT_TO_LANDING;
    }
}

Notes

Requires NPP_USERS compilation switch.

Clone this wiki locally