Commit Graph

45 Commits

Author SHA1 Message Date
FusionPBX ba413775c7
Get the login destination from the settings 2025-03-24 19:06:09 -06:00
FusionPBX 88b35835b0
logged in direct to the dashboard 2025-01-27 13:58:06 -07:00
FusionPBX 3f186d90cc
Fix the forget password feature 2025-01-16 21:49:56 -07:00
fusionate 1f20424cbd
Login: Nevermind. Simplify login.php even further. 2023-06-23 18:04:10 +00:00
fusionate 3389ab292d
Login: Honor login destination setting (if any). 2023-06-23 18:00:37 +00:00
fusionate d17265c3ec
Login: Resolve double prompt for authentication code. 2023-06-23 16:54:19 +00:00
frytimo d7bbcd89f5
Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
FusionPBX 2197aa0c74
Update login.php 2022-10-15 21:12:09 -06:00
FusionPBX 0ef99c7649
Update the description 2022-10-12 10:43:14 -06:00
FusionPBX eb8ccb4fb5
Replace config.php with config.conf 2022-10-10 19:35:44 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX 2b5b1443b8 Update login.php 2019-12-28 00:59:11 -07:00
FusionPBX 77f8a770a7 Update login.php 2019-09-24 13:54:33 -06:00
FusionPBX 71b217dff2 Update login.php 2017-06-10 08:47:44 -06:00
FusionPBX 812d97155a Create login.php 2017-06-10 08:43:59 -06:00
Mafoo bf3faaa051 Enhance - add message stash/pop (#2660)
add new methods to messages class to let it take care of stash and pop of the messages
update login.php to use new methods
tweak html function to put the $_SESSION['message'] in the stack so there is only one code point to maintain for rendering
2017-06-09 22:15:18 -06:00
FusionPBX fd62f1fb44 Update login.php 2016-12-11 22:54:39 -07:00
FusionPBX ba78e52428 Update login.php 2016-12-11 22:09:27 -07:00
markjcrane 343abf2511 Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Mark Crane 2722c91928 Remove redundant code from login.php. 2015-05-25 15:52:16 +00:00
Nate Jones a58e173c6a Themes: Add body_opacity (Enhanced & Minimized) and menu_opacity (Minimized only) settings.
Login: Prevent error on logout, if session not set.
2015-04-14 07:13:51 +00:00
Nate Jones 2f81b6a752 Login: Don't overwrite message if not attempting login (restores Password Reset 'Reset Link Sent' message). 2015-04-14 01:42:57 +00:00
Nate Jones 5d794db32d Login: Display error message on invalid login credentials. 2015-04-14 01:36:01 +00:00
Nate Jones b244cd2c91 Login Changes:
If visiting /index.php and /themes/[theme]/index.php exists, will load it.
If visiting /index.php and /themes/[theme]/login.php exists, will load it.
If NEITHER exist, will load /resources/login.php.

If visiting /login.php and /themes/[theme]/login.php exists, will load it.
If DOESN'T exist, will load /resources/login.php/

/resources/login.php reworked, Enhanced theme reworked.
2014-07-27 00:13:52 +00:00
Nate Jones ea4c77e81d Logout/Login: Clear session on login.php instead of logout.php - allows refresh to easily rotate background photos, if desired. 2014-07-26 19:37:29 +00:00
Mark Crane 9f71bdd024 Change links from includes to the resources directory. 2013-07-10 23:41:12 +00:00
Mark Crane 8e3be308e8 Fix the path for config.php for both index.php and login.php. 2013-07-06 08:03:14 +00:00
Mark Crane d126a2bb95 Adjust the login and index.php pages to use the check the new path for the config.php file. 2013-07-06 07:38:14 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 8e55371c6d Add ability to customize login.php and index.php. 2013-02-10 02:12:23 +00:00
Mark Crane c6fa71125d Make the login.php use the correct app_languages.php file. Reason to do this is because login.php in the root is put in a position as being part of the core so I wanted the translations to be part of the core as well. And user settings is related to the user login. App/login is in the app directory to make the login and logout as an optional part of the menu since they could be incorporated in the theme. 2013-01-05 10:06:32 +00:00
Mark Crane 9a29268a7c Move the redirect before the require.php include. 2013-01-05 09:48:19 +00:00
Mark Crane c945f6e436 If config.php does not exist then redirect to the install.php. 2013-01-05 09:44:18 +00:00
Mark Crane d334d98c74 To prevent inconvenience on the upgrade 2013-01-05 09:35:41 +00:00
Mark Crane c5a82ac351 Move login.php to core to allow for the app_languages.php file to be defined in its application directory. 2013-01-05 09:20:07 +00:00
Mark Crane b49bee54d6 change app/user_settings to core/user_settings 2013-01-05 07:15:23 +00:00
Mark Crane 057e7d3830 Change app/user to app/user_settings. 2013-01-05 06:58:14 +00:00
Mark Crane 46b95461e2 Update the login to use user_dashboard as the default destination after login. 2013-01-05 05:59:09 +00:00
Mark Crane e3500b7e03 Update the login.php page. 2013-01-05 04:34:45 +00:00
Mark Crane 1c21796282 Change the default settings names. 2012-12-19 21:03:14 +00:00
Mark Crane b8c9e2bfda Add an option to set an array of domains for the login page. 2012-12-18 14:57:44 +00:00
Mark Crane 3b5c5d3e8d Add an optional domain_name to the login page. 2012-07-26 19:24:55 +00:00
Mark Crane af103e9c41 Add a missing file sip_profile_copy.php to the dev branch. 2012-06-04 14:58:40 +00:00