Skip to content

reference:(root):login.php

Aaron Junker edited this page Apr 17, 2021 · 2 revisions

File (root) /login.php

This page let's the user log in into his account or displays a form to input the 2fa code.

Structure of normal login page

The user needs permission Login``Login and should not be logged in to access this page.

Error message

If GET parameter ERROR is set, a message is shown that the user used the false username or password.

The form

The post form has following inputs:

Label Name Type Special flags
Username U text
Password P password
Login! button submit

Google login

If login with Google is set up a button will be displayed where the user can log in.

Structure of 2fa enter page

Is shown if session variable tenp_User_ID is set.

Error message

If GET parameter ERROR is set, a message is shown that the typed in code is wrong.

The form

The post form has following inputs:

Label Name Type Special flags
Username code text autocomplete=false
Login! button submit
Abort! abort submit

Clone this wiki locally