Commit Graph

29 Commits

Author SHA1 Message Date
fusionate 6bcc5aff5e
Authentication: Added some polish, Cancel links, PHP 8.1 updates. 2023-06-23 00:14:07 +00:00
fusionate 3021f59431
Login: Restore authentication failed message. 2023-06-17 23:16:39 +00:00
markjcrane 8393701d13 Authentication reject on single plugin authorized false 2023-06-17 16:18:02 -06:00
markjcrane 6e7d274c5a Remove debug for authentication class. The validation method returns enough details. 2023-06-12 16:27:47 -06:00
fusionate 3dc38973e1
Authentication [Class] - Updates for PHP 8.1 2023-05-16 18:54:11 +00:00
FusionPBX a4fddc7897
Update authentication.php 2023-05-12 20:30:17 -06:00
FusionPBX d10e8bfdd4
Update authentication.php 2023-05-12 17:03:02 -06:00
FusionPBX 48fb933266
Remove static and use this. 2023-05-11 19:58:09 -06:00
FusionPBX ffd9a2c4b5
[bug fix] get the domain from the username (#6691)
* [bug fix] get the domain from the username

When the URL domain doesn't match the user's domain

Authentication can use domain from the username.

username:
user@domain
2023-05-11 18:58:22 -06:00
fusionate 5badf55c3c
Authentication [Class]: Updates for PHP 8.1 2023-05-11 13:40:17 +00:00
FusionPBX a9fbb07a55
Use isset and empty 2023-05-10 21:58:00 -06:00
FusionPBX 0757c79271
Allow login with user email. 2023-05-06 14:40:21 -06:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
FusionPBX ca0f5d5363
Use and set the SESSION username 2023-04-17 11:30:27 -06:00
markjcrane 00801b5b04 Add mutli-factor authentication. 2023-04-16 01:10:39 -06:00
FusionPBX 7c7112783c
Automatically block multiple authentication failures 2022-04-25 22:52:20 -06:00
FusionPBX ddb03b7722
Change the path from /app/user_logs to /core/user_logs. 2021-02-13 15:46:12 -07:00
FusionPBX 56d0811478 Update authentication.php 2020-02-20 01:01:23 -07:00
FusionPBX 98fd1aad80 Update authentication.php 2019-08-15 01:56:42 -06:00
FusionPBX 22f49f8ed2 Update authentication.php 2019-08-12 23:16:57 -06:00
FusionPBX 242660d470 Update authentication.php 2019-08-12 23:16:12 -06:00
FusionPBX 012a601527 Update authentication.php 2017-03-08 16:04:38 -07:00
FusionPBX 7c99289243 Update authentication.php
Update the session username if authorized is true.
2016-10-03 21:35:34 -06:00
FusionPBX db9b088d86 Update authentication.php 2016-09-11 12:51:54 -06:00
FusionPBX 6ec74bc432 Update authentication.php
Make the database the default authentication plugin if the default setting -> authentication is not set.
2016-09-11 09:51:40 -06:00
FusionPBX c91933ee5b Create authentication.php 2016-09-10 22:21:08 -06:00
FusionPBX afdce9b55c Delete authentication.php
Wrong content added to this file that has no history so delete the file.
2016-09-10 22:20:10 -06:00
FusionPBX 8bc4637338 Create authentication.php
First commit in a series of commits adding a new authentication class.
2016-09-10 17:54:32 -06:00