Skip to content

reference:(root):profile.php

Aaron Junker edited this page Apr 24, 2021 · 6 revisions

File (root)/profile.php

This file generates a profile overview page for the currently logged in user.

The user needs to have the permission Profile and needs to be logged in to access this page.

Structure

The page is structured in the following order:

Submodule Other dependencies Description
Change_password A button to (root) /changepassword.php
Show_profile_picture Displays a profile picture. More information at $U->getProfilePicture().
Add_google_login Google oAuth is set up( More information here) Shows a button that allows users to add Google Login to their login options. If they already did this they get a button, where they can disconnect their Google Account.
Add_2FA Setting 2fa.enabled needs to be activated. People can connect or disconnect their 2FA acccount with Google Authenticator.
Delete_account User can delete his account.

Imgur

Clone this wiki locally