public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/functions.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.inc.php
on main
Author
Date
Commit
Line
Code
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1
<?php
<?php
andryyy
about 6 years ago
48b74d7
[Web] Fix PHPMailer, minor style change for quarantine rcpts
- Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\PHPMailer;
same change
48b74d7
[Web] Fix PHPMailer, minor style change for quarantine rcpts
- Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 3
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\SMTP;
same change
48b74d7
[Web] Fix PHPMailer, minor style change for quarantine rcpts
- Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 4
use PHPMailer\PHPMailer\Exception;
use PHPMailer\PHPMailer\Exception;
andryyy
over 6 years ago
47a15c2
[Rspamd] Pushover, check sender by regex
- Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 5
function is_valid_regex($exp) {
function is_valid_regex($exp) {
same change
47a15c2
[Rspamd] Pushover, check sender by regex
- Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 6
return @preg_match($exp, '') !== false;
return @preg_match($exp, '') !== false;
same change
47a15c2
[Rspamd] Pushover, check sender by regex
- Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 7
}
}
andryyy
over 7 years ago
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 8
function isset_has_content($var) {
function isset_has_content($var) {
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 9
if (isset($var) && $var != "") {
if (isset($var) && $var != "") {
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 10
return true;
return true;
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 11
}
}
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 12
else {
else {
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 13
return false;
return false;
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 14
}
}
same change
49492df
[Web, Dovecot] Allow empty/unlimited quota
- Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 15
}
}
andryyy
about 5 years ago
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 16
function readable_random_string($length = 8) {
function readable_random_string($length = 8) {
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 17
$string = '';
$string = '';
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 18
$vowels = array('a', 'e', 'i', 'o', 'u');
$vowels = array('a', 'e', 'i', 'o', 'u');
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 19
$consonants = array('b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 't', 'v', 'w', 'x', 'y', 'z');
$consonants = array('b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 't', 'v', 'w', 'x', 'y', 'z');
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 20
$max = $length / 2;
$max = $length / 2;
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 21
for ($i = 1; $i <= $max; $i++) {
for ($i = 1; $i <= $max; $i++) {
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 22
$string .= $consonants[rand(0,19)];
$string .= $consonants[rand(0,19)];
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 23
$string .= $vowels[rand(0,4)];
$string .= $vowels[rand(0,4)];
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 24
}
}
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 25
return $string;
return $string;
same change
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 26
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 27
// Validates ips and cidrs
// Validates ips and cidrs
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 28
function valid_network($network) {
function valid_network($network) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 29
if (filter_var($network, FILTER_VALIDATE_IP)) {
if (filter_var($network, FILTER_VALIDATE_IP)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 30
return true;
return true;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 31
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 32
$parts = explode('/', $network);
$parts = explode('/', $network);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 33
if (count($parts) != 2) {
if (count($parts) != 2) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 34
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 35
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 36
$ip = $parts[0];
$ip = $parts[0];
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 37
$netmask = $parts[1];
$netmask = $parts[1];
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 38
if (!preg_match("/^\d+$/", $netmask)){
if (!preg_match("/^\d+$/", $netmask)){
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 39
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 40
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 41
$netmask = intval($parts[1]);
$netmask = intval($parts[1]);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 42
if ($netmask < 0) {
if ($netmask < 0) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 43
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 44
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 45
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 46
return $netmask <= 32;
return $netmask <= 32;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 47
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 48
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 49
return $netmask <= 128;
return $netmask <= 128;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 50
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 51
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 52
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 53
function valid_hostname($hostname) {
function valid_hostname($hostname) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 54
return filter_var($hostname, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME);
return filter_var($hostname, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 55
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 56
// Thanks to https://stackoverflow.com/a/49373789
// Thanks to https://stackoverflow.com/a/49373789
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 57
// Validates exact ip matches and ip-in-cidr, ipv4 and ipv6
// Validates exact ip matches and ip-in-cidr, ipv4 and ipv6
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 58
function ip_acl($ip, $networks) {
function ip_acl($ip, $networks) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 59
foreach($networks as $network) {
foreach($networks as $network) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 60
if (filter_var($network, FILTER_VALIDATE_IP)) {
if (filter_var($network, FILTER_VALIDATE_IP)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 61
if ($ip == $network) {
if ($ip == $network) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 62
return true;
return true;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 63
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 64
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 65
continue;
continue;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 66
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 67
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 68
$ipb = inet_pton($ip);
$ipb = inet_pton($ip);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 69
$iplen = strlen($ipb);
$iplen = strlen($ipb);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 70
if (strlen($ipb) < 4) {
if (strlen($ipb) < 4) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 71
continue;
continue;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 72
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 73
$ar = explode('/', $network);
$ar = explode('/', $network);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 74
$ip1 = $ar[0];
$ip1 = $ar[0];
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 75
$ip1b = inet_pton($ip1);
$ip1b = inet_pton($ip1);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 76
$ip1len = strlen($ip1b);
$ip1len = strlen($ip1b);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 77
if ($ip1len != $iplen) {
if ($ip1len != $iplen) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 78
continue;
continue;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 79
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 80
if (count($ar)>1) {
if (count($ar)>1) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 81
$bits=(int)($ar[1]);
$bits=(int)($ar[1]);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 82
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 83
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 84
$bits = $iplen * 8;
$bits = $iplen * 8;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 85
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 86
for ($c=0; $bits>0; $c++) {
for ($c=0; $bits>0; $c++) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 87
$bytemask = ($bits < 8) ? 0xff ^ ((1 << (8-$bits))-1) : 0xff;
$bytemask = ($bits < 8) ? 0xff ^ ((1 << (8-$bits))-1) : 0xff;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 88
if (((ord($ipb[$c]) ^ ord($ip1b[$c])) & $bytemask) != 0) {
if (((ord($ipb[$c]) ^ ord($ip1b[$c])) & $bytemask) != 0) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 89
continue 2;
continue 2;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 90
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 91
$bits-=8;
$bits-=8;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 92
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 93
return true;
return true;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 94
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 95
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 96
}
}
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 97
function hash_password($password) {
function hash_password($password) {
Lukas Schreiner
over 5 years ago
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 98
// default_pass_scheme is determined in vars.inc.php (or corresponding local file)
// default_pass_scheme is determined in vars.inc.php (or corresponding local file)
same change
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 99
// in case default pass scheme is not defined, falling back to BLF-CRYPT.
// in case default pass scheme is not defined, falling back to BLF-CRYPT.
same change
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 100
global $default_pass_scheme;
global $default_pass_scheme;
same change
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 101
$pw_hash = NULL;
$pw_hash = NULL;
Shea Ramage
over 5 years ago
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 102
// support pre-hashed passwords
// support pre-hashed passwords
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 103
if (preg_match('/^{(ARGON2I|ARGON2ID|BLF-CRYPT|CLEAR|CLEARTEXT|CRYPT|DES-CRYPT|LDAP-MD5|MD5|MD5-CRYPT|PBKDF2|PLAIN|PLAIN-MD4|PLAIN-MD5|PLAIN-TRUNC|PLAIN-TRUNC|SHA|SHA1|SHA256|SHA256-CRYPT|SHA512|SHA512-CRYPT|SMD5|SSHA|SSHA256|SSHA512)}/i', $password)) {
if (preg_match('/^{(ARGON2I|ARGON2ID|BLF-CRYPT|CLEAR|CLEARTEXT|CRYPT|DES-CRYPT|LDAP-MD5|MD5|MD5-CRYPT|PBKDF2|PLAIN|PLAIN-MD4|PLAIN-MD5|PLAIN-TRUNC|PLAIN-TRUNC|SHA|SHA1|SHA256|SHA256-CRYPT|SHA512|SHA512-CRYPT|SMD5|SSHA|SSHA256|SSHA512)}/i', $password)) {
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 104
$pw_hash = $password;
$pw_hash = $password;
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 105
}
}
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 106
else {
else {
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 107
switch (strtoupper($default_pass_scheme)) {
switch (strtoupper($default_pass_scheme)) {
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 108
case "SSHA":
case "SSHA":
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 109
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 110
$pw_hash = "{SSHA}".base64_encode(hash('sha1', $password . $salt_str, true) . $salt_str);
$pw_hash = "{SSHA}".base64_encode(hash('sha1', $password . $salt_str, true) . $salt_str);
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 111
break;
break;
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 112
case "SSHA256":
case "SSHA256":
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 113
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 114
$pw_hash = "{SSHA256}".base64_encode(hash('sha256', $password . $salt_str, true) . $salt_str);
$pw_hash = "{SSHA256}".base64_encode(hash('sha256', $password . $salt_str, true) . $salt_str);
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 115
break;
break;
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 116
case "SSHA512":
case "SSHA512":
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 117
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
$salt_str = bin2hex(openssl_random_pseudo_bytes(8));
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 118
$pw_hash = "{SSHA512}".base64_encode(hash('sha512', $password . $salt_str, true) . $salt_str);
$pw_hash = "{SSHA512}".base64_encode(hash('sha512', $password . $salt_str, true) . $salt_str);
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 119
break;
break;
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 120
case "BLF-CRYPT":
case "BLF-CRYPT":
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 121
default:
default:
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 122
$pw_hash = "{BLF-CRYPT}" . password_hash($password, PASSWORD_BCRYPT);
$pw_hash = "{BLF-CRYPT}" . password_hash($password, PASSWORD_BCRYPT);
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 123
break;
break;
same change
4feceb0
Refactor support for pre-hashed passwords (#4024)
- Full commit hash
4feceb08da75ef70321f8664c94a9c07ed4c13d5- Author
- Shea Ramage <[email protected]>
- Date
- over 5 years ago
- Selected line
- 124
}
}
Lukas Schreiner
over 5 years ago
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 125
}
}
same change
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 126
return $pw_hash;
return $pw_hash;
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 127
}
}
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 128
function password_complexity($_action, $_data = null) {
function password_complexity($_action, $_data = null) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 129
global $redis;
global $redis;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 130
global $lang;
global $lang;
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 131
switch ($_action) {
switch ($_action) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 132
case 'edit':
case 'edit':
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 133
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 134
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 135
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 136
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 137
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 138
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 139
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 140
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 141
$is_now = password_complexity('get');
$is_now = password_complexity('get');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 142
if (!empty($is_now)) {
if (!empty($is_now)) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 143
$length = (isset($_data['length']) && intval($_data['length']) >= 3) ? intval($_data['length']) : $is_now['length'];
$length = (isset($_data['length']) && intval($_data['length']) >= 3) ? intval($_data['length']) : $is_now['length'];
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 144
$chars = (isset($_data['chars'])) ? intval($_data['chars']) : $is_now['chars'];
$chars = (isset($_data['chars'])) ? intval($_data['chars']) : $is_now['chars'];
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 145
$lowerupper = (isset($_data['lowerupper'])) ? intval($_data['lowerupper']) : $is_now['lowerupper'];
$lowerupper = (isset($_data['lowerupper'])) ? intval($_data['lowerupper']) : $is_now['lowerupper'];
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 146
$special_chars = (isset($_data['special_chars'])) ? intval($_data['special_chars']) : $is_now['special_chars'];
$special_chars = (isset($_data['special_chars'])) ? intval($_data['special_chars']) : $is_now['special_chars'];
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 147
$numbers = (isset($_data['numbers'])) ? intval($_data['numbers']) : $is_now['numbers'];
$numbers = (isset($_data['numbers'])) ? intval($_data['numbers']) : $is_now['numbers'];
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 148
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 149
try {
try {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 150
$redis->hMSet('PASSWD_POLICY', [
$redis->hMSet('PASSWD_POLICY', [
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 151
'length' => $length,
'length' => $length,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 152
'chars' => $chars,
'chars' => $chars,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 153
'special_chars' => $special_chars,
'special_chars' => $special_chars,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 154
'lowerupper' => $lowerupper,
'lowerupper' => $lowerupper,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 155
'numbers' => $numbers
'numbers' => $numbers
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 156
]);
]);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 157
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 158
catch (RedisException $e) {
catch (RedisException $e) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 159
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 160
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 161
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 162
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 163
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 164
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 165
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 166
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 167
'type' => 'success',
'type' => 'success',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 168
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
andryyy
over 5 years ago
eb1d5dd
[Web] Remove debugging points
- Full commit hash
eb1d5dd134c7cd5a44dadaa2eafa4ce56a75ee2c- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 169
'msg' => 'password_policy_saved'
'msg' => 'password_policy_saved'
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 170
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 171
break;
break;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 172
case 'get':
case 'get':
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 173
try {
try {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 174
$length = $redis->hGet('PASSWD_POLICY', 'length');
$length = $redis->hGet('PASSWD_POLICY', 'length');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 175
$chars = $redis->hGet('PASSWD_POLICY', 'chars');
$chars = $redis->hGet('PASSWD_POLICY', 'chars');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 176
$special_chars = $redis->hGet('PASSWD_POLICY', 'special_chars');
$special_chars = $redis->hGet('PASSWD_POLICY', 'special_chars');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 177
$lowerupper = $redis->hGet('PASSWD_POLICY', 'lowerupper');
$lowerupper = $redis->hGet('PASSWD_POLICY', 'lowerupper');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 178
$numbers = $redis->hGet('PASSWD_POLICY', 'numbers');
$numbers = $redis->hGet('PASSWD_POLICY', 'numbers');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 179
return array(
return array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 180
'length' => $length,
'length' => $length,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 181
'chars' => $chars,
'chars' => $chars,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 182
'special_chars' => $special_chars,
'special_chars' => $special_chars,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 183
'lowerupper' => $lowerupper,
'lowerupper' => $lowerupper,
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 184
'numbers' => $numbers
'numbers' => $numbers
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 185
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 186
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 187
catch (RedisException $e) {
catch (RedisException $e) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 188
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 189
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 190
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 191
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 192
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 193
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 194
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 195
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 196
break;
break;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 197
case 'html':
case 'html':
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 198
$policies = password_complexity('get');
$policies = password_complexity('get');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 199
foreach ($policies as $name => $value) {
foreach ($policies as $name => $value) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 200
if ($value != 0) {
if ($value != 0) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 201
$policy_text[] = sprintf($lang['admin']["password_policy_$name"], $value);
$policy_text[] = sprintf($lang['admin']["password_policy_$name"], $value);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 202
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 203
}
}
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 204
return '<p class="help-block small">- ' . implode('<br>- ', (array)$policy_text) . '</p>';
return '<p class="help-block small">- ' . implode('<br>- ', (array)$policy_text) . '</p>';
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 205
break;
break;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 206
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 207
}
}
Paul Sütterlin
7 months ago
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 208
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 209
function password_generate(){
function password_generate(){
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 210
$password_complexity = password_complexity('get');
$password_complexity = password_complexity('get');
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 211
$min_length = max(16, intval($password_complexity['length']));
$min_length = max(16, intval($password_complexity['length']));
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 212
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 213
$lowercase = range('a', 'z');
$lowercase = range('a', 'z');
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 214
$uppercase = range('A', 'Z');
$uppercase = range('A', 'Z');
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 215
$digits = range(0, 9);
$digits = range(0, 9);
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 216
$special_chars = str_split('!@#$%^&*()?=');
$special_chars = str_split('!@#$%^&*()?=');
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 217
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 218
$password = [
$password = [
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 219
$lowercase[random_int(0, count($lowercase) - 1)],
$lowercase[random_int(0, count($lowercase) - 1)],
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 220
$uppercase[random_int(0, count($uppercase) - 1)],
$uppercase[random_int(0, count($uppercase) - 1)],
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 221
$digits[random_int(0, count($digits) - 1)],
$digits[random_int(0, count($digits) - 1)],
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 222
$special_chars[random_int(0, count($special_chars) - 1)],
$special_chars[random_int(0, count($special_chars) - 1)],
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 223
];
];
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 224
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 225
$all = array_merge($lowercase, $uppercase, $digits, $special_chars);
$all = array_merge($lowercase, $uppercase, $digits, $special_chars);
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 226
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 227
while (count($password) < $min_length) {
while (count($password) < $min_length) {
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 228
$password[] = $all[random_int(0, count($all) - 1)];
$password[] = $all[random_int(0, count($all) - 1)];
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 229
}
}
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 230
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 231
// Cryptographically secure shuffle using Fisher-Yates algorithm
// Cryptographically secure shuffle using Fisher-Yates algorithm
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 232
$count = count($password);
$count = count($password);
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 233
for ($i = $count - 1; $i > 0; $i--) {
for ($i = $count - 1; $i > 0; $i--) {
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 234
$j = random_int(0, $i);
$j = random_int(0, $i);
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 235
$temp = $password[$i];
$temp = $password[$i];
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 236
$password[$i] = $password[$j];
$password[$i] = $password[$j];
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 237
$password[$j] = $temp;
$password[$j] = $temp;
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 238
}
}
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 239
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 240
return implode('', $password);
return implode('', $password);
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 241
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 242
}
}
same change
70101d1
fix: Password for mobileconfig that conforms to password-complexity policy
- Full commit hash
70101d1187a99ade3133e740c93af198ac7f1bee- Author
- Paul Sütterlin <[email protected]>
- Date
- 7 months ago
- Selected line
- 243
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 244
function password_check($password1, $password2) {
function password_check($password1, $password2) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 245
$password_complexity = password_complexity('get');
$password_complexity = password_complexity('get');
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 246
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 247
if (empty($password1) || empty($password2)) {
if (empty($password1) || empty($password2)) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 248
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 249
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 250
'log' => array(__FUNCTION__, $_action, $_type),
'log' => array(__FUNCTION__, $_action, $_type),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 251
'msg' => 'password_complexity'
'msg' => 'password_complexity'
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 252
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 253
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 254
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 255
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 256
if ($password1 != $password2) {
if ($password1 != $password2) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 257
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 258
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 259
'log' => array(__FUNCTION__, $_action, $_type),
'log' => array(__FUNCTION__, $_action, $_type),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 260
'msg' => 'password_mismatch'
'msg' => 'password_mismatch'
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 261
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 262
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 263
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 264
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 265
$given_password['length'] = strlen($password1);
$given_password['length'] = strlen($password1);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 266
$given_password['special_chars'] = preg_match('/[^a-zA-Z\d]/', $password1);
$given_password['special_chars'] = preg_match('/[^a-zA-Z\d]/', $password1);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 267
$given_password['chars'] = preg_match('/[a-zA-Z]/',$password1);
$given_password['chars'] = preg_match('/[a-zA-Z]/',$password1);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 268
$given_password['numbers'] = preg_match('/\d/', $password1);
$given_password['numbers'] = preg_match('/\d/', $password1);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 269
$lower = strlen(preg_replace("/[^a-z]/", '', $password1));
$lower = strlen(preg_replace("/[^a-z]/", '', $password1));
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 270
$upper = strlen(preg_replace("/[^A-Z]/", '', $password1));
$upper = strlen(preg_replace("/[^A-Z]/", '', $password1));
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 271
$given_password['lowerupper'] = ($lower > 0 && $upper > 0) ? true : false;
$given_password['lowerupper'] = ($lower > 0 && $upper > 0) ? true : false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 272
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 273
if (
if (
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 274
($given_password['length'] < $password_complexity['length']) ||
($given_password['length'] < $password_complexity['length']) ||
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 275
($password_complexity['special_chars'] == 1 && (intval($given_password['special_chars']) != $password_complexity['special_chars'])) ||
($password_complexity['special_chars'] == 1 && (intval($given_password['special_chars']) != $password_complexity['special_chars'])) ||
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 276
($password_complexity['chars'] == 1 && (intval($given_password['chars']) != $password_complexity['chars'])) ||
($password_complexity['chars'] == 1 && (intval($given_password['chars']) != $password_complexity['chars'])) ||
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 277
($password_complexity['numbers'] == 1 && (intval($given_password['numbers']) != $password_complexity['numbers'])) ||
($password_complexity['numbers'] == 1 && (intval($given_password['numbers']) != $password_complexity['numbers'])) ||
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 278
($password_complexity['lowerupper'] == 1 && (intval($given_password['lowerupper']) != $password_complexity['lowerupper']))
($password_complexity['lowerupper'] == 1 && (intval($given_password['lowerupper']) != $password_complexity['lowerupper']))
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 279
) {
) {
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 280
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 281
'type' => 'danger',
'type' => 'danger',
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 282
'log' => array(__FUNCTION__, $_action, $_type),
'log' => array(__FUNCTION__, $_action, $_type),
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 283
'msg' => 'password_complexity'
'msg' => 'password_complexity'
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 284
);
);
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 285
return false;
return false;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 286
}
}
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 287
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 288
return true;
return true;
same change
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 289
}
}
FreddleSpl0it
about 4 years ago
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 290
function last_login($action, $username, $sasl_limit_days = 7, $ui_offset = 1) {
function last_login($action, $username, $sasl_limit_days = 7, $ui_offset = 1) {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 291
global $pdo;
global $pdo;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 292
global $redis;
global $redis;
andryyy
about 5 years ago
47b57df
[Web] Show users last PW change, allow to select n days for last logins
- Full commit hash
47b57df3a2ada6cd3d8549ac2610bf823ca64663- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 293
$sasl_limit_days = intval($sasl_limit_days);
$sasl_limit_days = intval($sasl_limit_days);
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 294
switch ($action) {
switch ($action) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 295
case 'get':
case 'get':
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 296
if (filter_var($username, FILTER_VALIDATE_EMAIL) && hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
if (filter_var($username, FILTER_VALIDATE_EMAIL) && hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
jkellerer
over 4 years ago
9946bb3
[Web] Display app password name in last login (#4304)
- Full commit hash
9946bb34272826982c3f0c9264291384e2f8a812- Author
- jkellerer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 297
$stmt = $pdo->prepare('SELECT `real_rip`, MAX(`datetime`) as `datetime`, `service`, `app_password`, MAX(`app_passwd`.`name`) as `app_password_name` FROM `sasl_log`
$stmt = $pdo->prepare('SELECT `real_rip`, MAX(`datetime`) as `datetime`, `service`, `app_password`, MAX(`app_passwd`.`name`) as `app_password_name` FROM `sasl_log`
andryyy
about 5 years ago
78084c5
[Web] Log only latest datetime of a unique datetime, service and ip combination
- Full commit hash
78084c5e7b7b0282a895603604c929e41f313888- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 298
LEFT OUTER JOIN `app_passwd` on `sasl_log`.`app_password` = `app_passwd`.`id`
LEFT OUTER JOIN `app_passwd` on `sasl_log`.`app_password` = `app_passwd`.`id`
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 299
WHERE `username` = :username
WHERE `username` = :username
andryyy
about 5 years ago
47b57df
[Web] Show users last PW change, allow to select n days for last logins
- Full commit hash
47b57df3a2ada6cd3d8549ac2610bf823ca64663- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 300
AND HOUR(TIMEDIFF(NOW(), `datetime`)) < :sasl_limit_days
AND HOUR(TIMEDIFF(NOW(), `datetime`)) < :sasl_limit_days
andryyy
about 5 years ago
08d6669
[Web] Improve last logins, switch to country name (workaround, fix in progress)
- Full commit hash
08d666985f237e1aee80a42ff4478767e36a7f66- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 301
GROUP BY `real_rip`, `service`, `app_password`
GROUP BY `real_rip`, `service`, `app_password`
andryyy
about 5 years ago
47b57df
[Web] Show users last PW change, allow to select n days for last logins
- Full commit hash
47b57df3a2ada6cd3d8549ac2610bf823ca64663- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 302
ORDER BY `datetime` DESC;');
ORDER BY `datetime` DESC;');
same change
47b57df
[Web] Show users last PW change, allow to select n days for last logins
- Full commit hash
47b57df3a2ada6cd3d8549ac2610bf823ca64663- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 303
$stmt->execute(array(':username' => $username, ':sasl_limit_days' => ($sasl_limit_days * 24)));
$stmt->execute(array(':username' => $username, ':sasl_limit_days' => ($sasl_limit_days * 24)));
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 304
$sasl = $stmt->fetchAll(PDO::FETCH_ASSOC);
$sasl = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 305
foreach ($sasl as $k => $v) {
foreach ($sasl as $k => $v) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 306
if (!filter_var($sasl[$k]['real_rip'], FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
if (!filter_var($sasl[$k]['real_rip'], FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 307
$sasl[$k]['real_rip'] = 'Web/EAS/Internal (' . $sasl[$k]['real_rip'] . ')';
$sasl[$k]['real_rip'] = 'Web/EAS/Internal (' . $sasl[$k]['real_rip'] . ')';
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 308
}
}
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 309
elseif (filter_var($sasl[$k]['real_rip'], FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
elseif (filter_var($sasl[$k]['real_rip'], FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 310
try {
try {
andryyy
about 5 years ago
da20d5d
[Web] Replace country flags, improve flags for last logins, add info about last password change of a user
- Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 311
$sasl[$k]['location'] = $redis->hGet('IP_SHORTCOUNTRY', $sasl[$k]['real_rip']);
$sasl[$k]['location'] = $redis->hGet('IP_SHORTCOUNTRY', $sasl[$k]['real_rip']);
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 312
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 313
catch (RedisException $e) {
catch (RedisException $e) {
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 314
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 315
'type' => 'danger',
'type' => 'danger',
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 316
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 317
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 318
);
);
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 319
return false;
return false;
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 320
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 321
if (!$sasl[$k]['location']) {
if (!$sasl[$k]['location']) {
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 322
$curl = curl_init();
$curl = curl_init();
Thomas Bella
about 2 years ago
64cd7e7
Switch IP2Country lookup backend to shortened version
- Full commit hash
64cd7e74c576bb91a23462c1da42f1c4879fe445- Author
- Thomas Bella <[email protected]>
- Date
- about 2 years ago
- Selected line
- 323
curl_setopt($curl, CURLOPT_URL,"https://dfdata.bella.network/country/" . $sasl[$k]['real_rip']);
curl_setopt($curl, CURLOPT_URL,"https://dfdata.bella.network/country/" . $sasl[$k]['real_rip']);
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 324
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
andryyy
about 5 years ago
08d6669
[Web] Improve last logins, switch to country name (workaround, fix in progress)
- Full commit hash
08d666985f237e1aee80a42ff4478767e36a7f66- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 325
curl_setopt($curl, CURLOPT_USERAGENT, 'Moocow');
curl_setopt($curl, CURLOPT_USERAGENT, 'Moocow');
same change
08d6669
[Web] Improve last logins, switch to country name (workaround, fix in progress)
- Full commit hash
08d666985f237e1aee80a42ff4478767e36a7f66- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 326
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 327
$ip_data = curl_exec($curl);
$ip_data = curl_exec($curl);
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 328
if (!curl_errno($curl)) {
if (!curl_errno($curl)) {
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 329
$ip_data_array = json_decode($ip_data, true);
$ip_data_array = json_decode($ip_data, true);
Thomas Bella
about 2 years ago
64cd7e7
Switch IP2Country lookup backend to shortened version
- Full commit hash
64cd7e74c576bb91a23462c1da42f1c4879fe445- Author
- Thomas Bella <[email protected]>
- Date
- about 2 years ago
- Selected line
- 330
if ($ip_data_array !== false and !empty($ip_data_array['shortcountry'])) {
if ($ip_data_array !== false and !empty($ip_data_array['shortcountry'])) {
same change
64cd7e7
Switch IP2Country lookup backend to shortened version
- Full commit hash
64cd7e74c576bb91a23462c1da42f1c4879fe445- Author
- Thomas Bella <[email protected]>
- Date
- about 2 years ago
- Selected line
- 331
$sasl[$k]['location'] = $ip_data_array['shortcountry'];
$sasl[$k]['location'] = $ip_data_array['shortcountry'];
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 332
try {
try {
Thomas Bella
about 2 years ago
64cd7e7
Switch IP2Country lookup backend to shortened version
- Full commit hash
64cd7e74c576bb91a23462c1da42f1c4879fe445- Author
- Thomas Bella <[email protected]>
- Date
- about 2 years ago
- Selected line
- 333
$redis->hSet('IP_SHORTCOUNTRY', $sasl[$k]['real_rip'], $ip_data_array['shortcountry']);
$redis->hSet('IP_SHORTCOUNTRY', $sasl[$k]['real_rip'], $ip_data_array['shortcountry']);
andryyy
about 5 years ago
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 334
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 335
catch (RedisException $e) {
catch (RedisException $e) {
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 336
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 337
'type' => 'danger',
'type' => 'danger',
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 338
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 339
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 340
);
);
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 341
curl_close($curl);
curl_close($curl);
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 342
return false;
return false;
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 343
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 344
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 345
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 346
curl_close($curl);
curl_close($curl);
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 347
}
}
same change
a89fe53
[Web] Show country of sasl ips
- Full commit hash
a89fe53e4a0aa7712d6ad2beec1ce8b296f011dc- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 348
}
}
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 349
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 350
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 351
else {
else {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 352
$sasl = array();
$sasl = array();
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 353
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 354
if ($_SESSION['mailcow_cc_role'] == "admin" || $username == $_SESSION['mailcow_cc_username']) {
if ($_SESSION['mailcow_cc_role'] == "admin" || $username == $_SESSION['mailcow_cc_username']) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 355
$stmt = $pdo->prepare('SELECT `remote`, `time` FROM `logs`
$stmt = $pdo->prepare('SELECT `remote`, `time` FROM `logs`
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 356
WHERE JSON_EXTRACT(`call`, "$[0]") = "check_login"
WHERE JSON_EXTRACT(`call`, "$[0]") = "check_login"
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 357
AND JSON_EXTRACT(`call`, "$[1]") = :username
AND JSON_EXTRACT(`call`, "$[1]") = :username
FreddleSpl0it
about 4 years ago
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 358
AND `type` = "success" ORDER BY `time` DESC LIMIT 1 OFFSET :offset');
AND `type` = "success" ORDER BY `time` DESC LIMIT 1 OFFSET :offset');
same change
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 359
$stmt->execute(array(
$stmt->execute(array(
same change
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 360
':username' => $username,
':username' => $username,
same change
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 361
':offset' => $ui_offset
':offset' => $ui_offset
same change
8987ebc
[BS5] add whats new modal after update
- Full commit hash
8987ebca36dfc0ed0bd13d324ae6251b654863a2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 362
));
));
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 363
$ui = $stmt->fetch(PDO::FETCH_ASSOC);
$ui = $stmt->fetch(PDO::FETCH_ASSOC);
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 364
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 365
else {
else {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 366
$ui = array();
$ui = array();
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 367
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 368
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 369
return array('ui' => $ui, 'sasl' => $sasl);
return array('ui' => $ui, 'sasl' => $sasl);
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 370
break;
break;
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 371
case 'reset':
case 'reset':
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 372
if (filter_var($username, FILTER_VALIDATE_EMAIL) && hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
if (filter_var($username, FILTER_VALIDATE_EMAIL) && hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
andryyy
about 5 years ago
78084c5
[Web] Log only latest datetime of a unique datetime, service and ip combination
- Full commit hash
78084c5e7b7b0282a895603604c929e41f313888- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 373
$stmt = $pdo->prepare('DELETE FROM `sasl_log`
$stmt = $pdo->prepare('DELETE FROM `sasl_log`
andryyy
about 5 years ago
8b08d09
[Web] Remove XMPP options
- Full commit hash
8b08d09ca20402f06ca0c8a884cd58d4fc72fec0- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 374
WHERE `username` = :username');
WHERE `username` = :username');
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 375
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 376
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 377
if ($_SESSION['mailcow_cc_role'] == "admin" || $username == $_SESSION['mailcow_cc_username']) {
if ($_SESSION['mailcow_cc_role'] == "admin" || $username == $_SESSION['mailcow_cc_username']) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 378
$stmt = $pdo->prepare('DELETE FROM `logs`
$stmt = $pdo->prepare('DELETE FROM `logs`
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 379
WHERE JSON_EXTRACT(`call`, "$[0]") = "check_login"
WHERE JSON_EXTRACT(`call`, "$[0]") = "check_login"
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 380
AND JSON_EXTRACT(`call`, "$[1]") = :username
AND JSON_EXTRACT(`call`, "$[1]") = :username
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 381
AND `type` = "success"');
AND `type` = "success"');
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 382
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 383
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 384
return true;
return true;
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 385
break;
break;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 386
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 387
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 388
}
}
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 389
function set_sasl_log($username, $real_rip, $service){
function set_sasl_log($username, $real_rip, $service){
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 390
global $pdo;
global $pdo;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 391
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 392
try {
try {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 393
if (!empty($_SESSION['app_passwd_id'])) {
if (!empty($_SESSION['app_passwd_id'])) {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 394
$app_password = $_SESSION['app_passwd_id'];
$app_password = $_SESSION['app_passwd_id'];
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 395
} else {
} else {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 396
$app_password = 0;
$app_password = 0;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 397
}
}
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 398
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 399
$stmt = $pdo->prepare('REPLACE INTO `sasl_log` (`username`, `real_rip`, `service`, `app_password`) VALUES (:username, :real_rip, :service, :app_password)');
$stmt = $pdo->prepare('REPLACE INTO `sasl_log` (`username`, `real_rip`, `service`, `app_password`) VALUES (:username, :real_rip, :service, :app_password)');
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 400
$stmt->execute(array(
$stmt->execute(array(
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 401
':username' => $username,
':username' => $username,
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 402
':real_rip' => $real_rip,
':real_rip' => $real_rip,
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 403
':service' => $service,
':service' => $service,
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 404
':app_password' => $app_password
':app_password' => $app_password
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 405
));
));
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 406
} catch (PDOException $e) {
} catch (PDOException $e) {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 407
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 408
'type' => 'danger',
'type' => 'danger',
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 409
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 410
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 411
);
);
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 412
return false;
return false;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 413
}
}
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 414
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 415
return true;
return true;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 416
}
}
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 417
function flush_memcached() {
function flush_memcached() {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 418
try {
try {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 419
$m = new Memcached();
$m = new Memcached();
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 420
$m->addServer('memcached', 11211);
$m->addServer('memcached', 11211);
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 421
$m->flush();
$m->flush();
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 422
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 423
catch ( Exception $e ) {
catch ( Exception $e ) {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 424
// Dunno
// Dunno
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 425
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 426
}
}
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 427
function sys_mail($_data) {
function sys_mail($_data) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 428
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 429
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 430
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 431
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 432
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 433
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 434
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 435
}
}
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 436
$excludes = $_data['mass_exclude'];
$excludes = $_data['mass_exclude'];
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 437
$includes = $_data['mass_include'];
$includes = $_data['mass_include'];
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 438
$mailboxes = array();
$mailboxes = array();
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 439
$mass_from = $_data['mass_from'];
$mass_from = $_data['mass_from'];
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 440
$mass_text = $_data['mass_text'];
$mass_text = $_data['mass_text'];
Balázs Dura-Kovács
over 5 years ago
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 441
$mass_html = $_data['mass_html'];
$mass_html = $_data['mass_html'];
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 442
$mass_subject = $_data['mass_subject'];
$mass_subject = $_data['mass_subject'];
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 443
if (!filter_var($mass_from, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($mass_from, FILTER_VALIDATE_EMAIL)) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 444
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 445
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 446
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 447
'msg' => 'from_invalid'
'msg' => 'from_invalid'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 448
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 449
return false;
return false;
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 450
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 451
if (empty($mass_subject)) {
if (empty($mass_subject)) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 452
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 453
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 454
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 455
'msg' => 'subject_empty'
'msg' => 'subject_empty'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 456
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 457
return false;
return false;
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 458
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 459
if (empty($mass_text)) {
if (empty($mass_text)) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 460
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 461
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 462
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 463
'msg' => 'text_empty'
'msg' => 'text_empty'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 464
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 465
return false;
return false;
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 466
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 467
$domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
$domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 468
foreach ($domains as $domain) {
foreach ($domains as $domain) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 469
foreach (mailbox('get', 'mailboxes', $domain) as $mailbox) {
foreach (mailbox('get', 'mailboxes', $domain) as $mailbox) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 470
$mailboxes[] = $mailbox;
$mailboxes[] = $mailbox;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 471
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 472
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 473
if (!empty($includes)) {
if (!empty($includes)) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 474
$rcpts = array_intersect($mailboxes, $includes);
$rcpts = array_intersect($mailboxes, $includes);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 475
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 476
elseif (!empty($excludes)) {
elseif (!empty($excludes)) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 477
$rcpts = array_diff($mailboxes, $excludes);
$rcpts = array_diff($mailboxes, $excludes);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 478
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 479
else {
else {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 480
$rcpts = $mailboxes;
$rcpts = $mailboxes;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 481
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 482
if (!empty($rcpts)) {
if (!empty($rcpts)) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 483
ini_set('max_execution_time', 0);
ini_set('max_execution_time', 0);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 484
ini_set('max_input_time', 0);
ini_set('max_input_time', 0);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 485
$mail = new PHPMailer;
$mail = new PHPMailer;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 486
$mail->Timeout = 10;
$mail->Timeout = 10;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 487
$mail->SMTPOptions = array(
$mail->SMTPOptions = array(
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 488
'ssl' => array(
'ssl' => array(
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 489
'verify_peer' => false,
'verify_peer' => false,
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 490
'verify_peer_name' => false,
'verify_peer_name' => false,
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 491
'allow_self_signed' => true
'allow_self_signed' => true
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 492
)
)
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 493
);
);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 494
$mail->isSMTP();
$mail->isSMTP();
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 495
$mail->Host = 'dovecot-mailcow';
$mail->Host = 'dovecot-mailcow';
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 496
$mail->SMTPAuth = false;
$mail->SMTPAuth = false;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 497
$mail->Port = 24;
$mail->Port = 24;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 498
$mail->setFrom($mass_from);
$mail->setFrom($mass_from);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 499
$mail->Subject = $mass_subject;
$mail->Subject = $mass_subject;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 500
$mail->CharSet ="UTF-8";
$mail->CharSet ="UTF-8";
Balázs Dura-Kovács
over 5 years ago
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 501
if (!empty($mass_html)) {
if (!empty($mass_html)) {
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 502
$mail->Body = $mass_html;
$mail->Body = $mass_html;
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 503
$mail->AltBody = $mass_text;
$mail->AltBody = $mass_text;
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 504
}
}
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 505
else {
else {
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 506
$mail->Body = $mass_text;
$mail->Body = $mass_text;
same change
dd1b25f
[Web] Optional HTML in system mails (#3879)
- Full commit hash
dd1b25fa61b0995cdf163099bc8c6055b003d0cb- Author
- Balázs Dura-Kovács <[email protected]>
- Date
- over 5 years ago
- Selected line
- 507
}
}
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 508
$mail->XMailer = 'MooMassMail';
$mail->XMailer = 'MooMassMail';
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 509
foreach ($rcpts as $rcpt) {
foreach ($rcpts as $rcpt) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 510
$mail->AddAddress($rcpt);
$mail->AddAddress($rcpt);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 511
if (!$mail->send()) {
if (!$mail->send()) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 512
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 513
'type' => 'warning',
'type' => 'warning',
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 514
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 515
'msg' => 'Mailer error (RCPT "' . htmlspecialchars($rcpt) . '"): ' . str_replace('https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting', '', $mail->ErrorInfo)
'msg' => 'Mailer error (RCPT "' . htmlspecialchars($rcpt) . '"): ' . str_replace('https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting', '', $mail->ErrorInfo)
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 516
);
);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 517
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 518
$mail->ClearAllRecipients();
$mail->ClearAllRecipients();
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 519
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 520
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 521
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 522
'type' => 'success',
'type' => 'success',
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 523
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 524
'msg' => 'Mass mail job completed, sent ' . count($rcpts) . ' mails'
'msg' => 'Mass mail job completed, sent ' . count($rcpts) . ' mails'
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 525
);
);
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 526
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 527
function logger($_data = false) {
function logger($_data = false) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 528
/*
/*
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 529
logger() will be called as last function
logger() will be called as last function
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 530
To manually log a message, logger needs to be called like below.
To manually log a message, logger needs to be called like below.
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 531
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 532
logger(array(
logger(array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 533
'return' => array(
'return' => array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 534
array(
array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 535
'type' => 'danger',
'type' => 'danger',
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 536
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 537
'msg' => $err
'msg' => $err
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 538
)
)
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 539
)
)
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 540
));
));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 541
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 542
These messages will not be printed as alert box.
These messages will not be printed as alert box.
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 543
To do so, push them to $_SESSION['return'] and do not call logger as they will be included automatically:
To do so, push them to $_SESSION['return'] and do not call logger as they will be included automatically:
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 544
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 545
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 546
'type' => 'danger',
'type' => 'danger',
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 547
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 548
'msg' => $err
'msg' => $err
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 549
);
);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 550
*/
*/
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 551
global $pdo;
global $pdo;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 552
if (!$_data) {
if (!$_data) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 553
$_data = $_SESSION;
$_data = $_SESSION;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 554
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 555
if (!empty($_data['return'])) {
if (!empty($_data['return'])) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 556
$task = substr(strtoupper(md5(uniqid(rand(), true))), 0, 6);
$task = substr(strtoupper(md5(uniqid(rand(), true))), 0, 6);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 557
foreach ($_data['return'] as $return) {
foreach ($_data['return'] as $return) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 558
$type = $return['type'];
$type = $return['type'];
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 559
$msg = null;
$msg = null;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 560
if (isset($return['msg'])) {
if (isset($return['msg'])) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 561
$msg = json_encode($return['msg'], JSON_UNESCAPED_UNICODE);
$msg = json_encode($return['msg'], JSON_UNESCAPED_UNICODE);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 562
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 563
$call = null;
$call = null;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 564
if (isset($return['log'])) {
if (isset($return['log'])) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 565
$call = json_encode($return['log'], JSON_UNESCAPED_UNICODE);
$call = json_encode($return['log'], JSON_UNESCAPED_UNICODE);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 566
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 567
if (!empty($_SESSION["dual-login"]["username"])) {
if (!empty($_SESSION["dual-login"]["username"])) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 568
$user = $_SESSION["dual-login"]["username"] . ' => ' . $_SESSION['mailcow_cc_username'];
$user = $_SESSION["dual-login"]["username"] . ' => ' . $_SESSION['mailcow_cc_username'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 569
$role = $_SESSION["dual-login"]["role"] . ' => ' . $_SESSION['mailcow_cc_role'];
$role = $_SESSION["dual-login"]["role"] . ' => ' . $_SESSION['mailcow_cc_role'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 570
}
}
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 571
elseif (!empty($_SESSION['mailcow_cc_username'])) {
elseif (!empty($_SESSION['mailcow_cc_username'])) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 572
$user = $_SESSION['mailcow_cc_username'];
$user = $_SESSION['mailcow_cc_username'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 573
$role = $_SESSION['mailcow_cc_role'];
$role = $_SESSION['mailcow_cc_role'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 574
}
}
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 575
else {
else {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 576
$user = 'unauthenticated';
$user = 'unauthenticated';
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 577
$role = 'unauthenticated';
$role = 'unauthenticated';
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 578
}
}
André
almost 8 years ago
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 579
// We cannot log when logs is missing...
// We cannot log when logs is missing...
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 580
try {
try {
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 581
$stmt = $pdo->prepare("INSERT INTO `logs` (`type`, `task`, `msg`, `call`, `user`, `role`, `remote`, `time`) VALUES
$stmt = $pdo->prepare("INSERT INTO `logs` (`type`, `task`, `msg`, `call`, `user`, `role`, `remote`, `time`) VALUES
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 582
(:type, :task, :msg, :call, :user, :role, :remote, UNIX_TIMESTAMP())");
(:type, :task, :msg, :call, :user, :role, :remote, UNIX_TIMESTAMP())");
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 583
$stmt->execute(array(
$stmt->execute(array(
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 584
':type' => $type,
':type' => $type,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 585
':task' => $task,
':task' => $task,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 586
':call' => $call,
':call' => $call,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 587
':msg' => $msg,
':msg' => $msg,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 588
':user' => $user,
':user' => $user,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 589
':role' => $role,
':role' => $role,
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 590
':remote' => get_remote_ip()
':remote' => get_remote_ip()
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 591
));
));
same change
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 592
}
}
goodygh
about 3 years ago
9752313
logger pdo exception handling workaround
- Full commit hash
9752313d24260d25c5f4d2f32d317278d1add964- Author
- goodygh <[email protected]>
- Date
- about 3 years ago
- Selected line
- 593
catch (PDOException $e) {
catch (PDOException $e) {
same change
9752313
logger pdo exception handling workaround
- Full commit hash
9752313d24260d25c5f4d2f32d317278d1add964- Author
- goodygh <[email protected]>
- Date
- about 3 years ago
- Selected line
- 594
# handle the exception here, as the exception handler function results in a white page
# handle the exception here, as the exception handler function results in a white page
same change
9752313
logger pdo exception handling workaround
- Full commit hash
9752313d24260d25c5f4d2f32d317278d1add964- Author
- goodygh <[email protected]>
- Date
- about 3 years ago
- Selected line
- 595
error_log($e->getMessage(), 0);
error_log($e->getMessage(), 0);
André
almost 8 years ago
a5488d4
[Web] Fix init db on fresh installations
- Full commit hash
a5488d4ba6526dad5ec2751f19e1ab9504b51bf9- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 596
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 597
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 598
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 599
else {
else {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 600
return true;
return true;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 601
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 602
}
}
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 603
function hasDomainAccess($username, $role, $domain) {
function hasDomainAccess($username, $role, $domain) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 604
global $pdo;
global $pdo;
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 605
if (empty($domain) || !is_valid_domain_name($domain)) {
if (empty($domain) || !is_valid_domain_name($domain)) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 606
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 607
}
}
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 608
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 609
return true;
return true;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 610
}
}
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 611
if (!filter_var($username, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
if (!filter_var($username, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 612
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 613
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 614
if ($role != 'admin' && $role != 'domainadmin') {
if ($role != 'admin' && $role != 'domainadmin') {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 615
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 616
}
}
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 617
if ($role == 'admin') {
if ($role == 'admin') {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 618
$stmt = $pdo->prepare("SELECT `domain` FROM `domain`
$stmt = $pdo->prepare("SELECT `domain` FROM `domain`
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 619
WHERE `domain` = :domain");
WHERE `domain` = :domain");
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 620
$stmt->execute(array(':domain' => $domain));
$stmt->execute(array(':domain' => $domain));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 621
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 622
$stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain`
$stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain`
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 623
WHERE `alias_domain` = :domain");
WHERE `alias_domain` = :domain");
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 624
$stmt->execute(array(':domain' => $domain));
$stmt->execute(array(':domain' => $domain));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 625
$num_results = $num_results + count($stmt->fetchAll(PDO::FETCH_ASSOC));
$num_results = $num_results + count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 626
if ($num_results != 0) {
if ($num_results != 0) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 627
return true;
return true;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 628
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 629
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 630
elseif ($role == 'domainadmin') {
elseif ($role == 'domainadmin') {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 631
$stmt = $pdo->prepare("SELECT `domain` FROM `domain_admins`
$stmt = $pdo->prepare("SELECT `domain` FROM `domain_admins`
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 632
WHERE (
WHERE (
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 633
`active`='1'
`active`='1'
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 634
AND `username` = :username
AND `username` = :username
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 635
AND (`domain` = :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2))
AND (`domain` = :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2))
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 636
)");
)");
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 637
$stmt->execute(array(':username' => $username, ':domain1' => $domain, ':domain2' => $domain));
$stmt->execute(array(':username' => $username, ':domain1' => $domain, ':domain2' => $domain));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 638
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 639
if (!empty($num_results)) {
if (!empty($num_results)) {
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 640
return true;
return true;
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 641
}
}
same change
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 642
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 643
return false;
return false;
andryyy
over 9 years ago
365abdd
Cleanup, cleanup and cleanup, much better sender acl handling, imapsync jobs, login as mailbox user X
- Full commit hash
365abdda018af236829dfb08db2b68fc32ebaa14- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 644
}
}
same change
365abdd
Cleanup, cleanup and cleanup, much better sender acl handling, imapsync jobs, login as mailbox user X
- Full commit hash
365abdda018af236829dfb08db2b68fc32ebaa14- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 645
function hasMailboxObjectAccess($username, $role, $object) {
function hasMailboxObjectAccess($username, $role, $object) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 646
global $pdo;
global $pdo;
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 647
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 648
return true;
return true;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 649
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 650
if (empty($username) || empty($role) || empty($object)) {
if (empty($username) || empty($role) || empty($object)) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 651
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 652
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 653
if (!filter_var(html_entity_decode(rawurldecode($username)), FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
if (!filter_var(html_entity_decode(rawurldecode($username)), FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 654
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 655
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 656
if ($role != 'admin' && $role != 'domainadmin' && $role != 'user') {
if ($role != 'admin' && $role != 'domainadmin' && $role != 'user') {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 657
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 658
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 659
if ($username == $object) {
if ($username == $object) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 660
return true;
return true;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 661
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 662
$stmt = $pdo->prepare("SELECT `domain` FROM `mailbox` WHERE `username` = :object");
$stmt = $pdo->prepare("SELECT `domain` FROM `mailbox` WHERE `username` = :object");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 663
$stmt->execute(array(':object' => $object));
$stmt->execute(array(':object' => $object));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 664
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 665
if (isset($row['domain']) && hasDomainAccess($username, $role, $row['domain'])) {
if (isset($row['domain']) && hasDomainAccess($username, $role, $row['domain'])) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 666
return true;
return true;
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 667
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 668
return false;
return false;
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 669
}
}
andryyy
about 5 years ago
05c85b4
[Web] Fix alias verification
- Full commit hash
05c85b4140ea0c83ea5b028ead3a614813f99736- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 670
// does also verify mailboxes as a mailbox is a alias == goto
// does also verify mailboxes as a mailbox is a alias == goto
andryyy
about 7 years ago
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 671
function hasAliasObjectAccess($username, $role, $object) {
function hasAliasObjectAccess($username, $role, $object) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 672
global $pdo;
global $pdo;
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 673
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 674
return true;
return true;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 675
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 676
if (empty($username) || empty($role) || empty($object)) {
if (empty($username) || empty($role) || empty($object)) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 677
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 678
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 679
if (!filter_var(html_entity_decode(rawurldecode($username)), FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
if (!filter_var(html_entity_decode(rawurldecode($username)), FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $username))) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 680
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 681
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 682
if ($role != 'admin' && $role != 'domainadmin' && $role != 'user') {
if ($role != 'admin' && $role != 'domainadmin' && $role != 'user') {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 683
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 684
}
}
andryyy
about 5 years ago
05c85b4
[Web] Fix alias verification
- Full commit hash
05c85b4140ea0c83ea5b028ead3a614813f99736- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 685
$stmt = $pdo->prepare("SELECT `domain` FROM `alias` WHERE `address` = :object");
$stmt = $pdo->prepare("SELECT `domain` FROM `alias` WHERE `address` = :object");
andryyy
about 7 years ago
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 686
$stmt->execute(array(':object' => $object));
$stmt->execute(array(':object' => $object));
same change
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 687
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 688
if (isset($row['domain']) && hasDomainAccess($username, $role, $row['domain'])) {
if (isset($row['domain']) && hasDomainAccess($username, $role, $row['domain'])) {
same change
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 689
return true;
return true;
same change
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 690
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 691
return false;
return false;
andryyy
about 7 years ago
5087d5c
[Web] Allow aliases as send-as
- Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 692
}
}
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 693
function hasACLAccess($type) {
function hasACLAccess($type) {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 694
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
if (isset($_SESSION['access_all_exception']) && $_SESSION['access_all_exception'] == "1") {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 695
return true;
return true;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 696
}
}
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 697
if (isset($_SESSION['acl'][$type]) && $_SESSION['acl'][$type] == "1") {
if (isset($_SESSION['acl'][$type]) && $_SESSION['acl'][$type] == "1") {
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 698
return true;
return true;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 699
}
}
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 700
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 701
return false;
return false;
same change
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 702
}
}
Michael Kuron
about 9 years ago
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 703
function pem_to_der($pem_key) {
function pem_to_der($pem_key) {
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 704
// Need to remove BEGIN/END PUBLIC KEY
// Need to remove BEGIN/END PUBLIC KEY
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 705
$lines = explode("\n", trim($pem_key));
$lines = explode("\n", trim($pem_key));
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 706
unset($lines[count($lines)-1]);
unset($lines[count($lines)-1]);
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 707
unset($lines[0]);
unset($lines[0]);
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 708
return base64_decode(implode('', $lines));
return base64_decode(implode('', $lines));
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 709
}
}
andryyy
about 6 years ago
a6af7cb
[Web] Expand IPv6 addresses for better comparison
- Full commit hash
a6af7cbc2ea6933bc4dc8a76afd2d207b64b80f0- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 710
function expand_ipv6($ip) {
function expand_ipv6($ip) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 711
$hex = unpack("H*hex", inet_pton($ip));
$hex = unpack("H*hex", inet_pton($ip));
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 712
$ip = substr(preg_replace("/([A-f0-9]{4})/", "$1:", $hex['hex']), 0, -1);
$ip = substr(preg_replace("/([A-f0-9]{4})/", "$1:", $hex['hex']), 0, -1);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 713
return $ip;
return $ip;
andryyy
about 6 years ago
a6af7cb
[Web] Expand IPv6 addresses for better comparison
- Full commit hash
a6af7cbc2ea6933bc4dc8a76afd2d207b64b80f0- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 714
}
}
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 715
function generate_tlsa_digest($hostname, $port, $starttls = null) {
function generate_tlsa_digest($hostname, $port, $starttls = null) {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 716
if (!is_valid_domain_name($hostname)) {
if (!is_valid_domain_name($hostname)) {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 717
return "Not a valid hostname";
return "Not a valid hostname";
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 718
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 719
if (empty($starttls)) {
if (empty($starttls)) {
andre.peters
over 8 years ago
3feabe0
[Web] Fixes TLSA for self-signed certs, closes #997
- Full commit hash
3feabe00a287c56ab73e206bb16f27a0371c86d3- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 720
$context = stream_context_create(array("ssl" => array("capture_peer_cert" => true, 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true)));
$context = stream_context_create(array("ssl" => array("capture_peer_cert" => true, 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true)));
andre.peters
over 8 years ago
d76d103
[Web] Move DNS diagnostic to modal, some minor fixes
- Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 721
$stream = stream_socket_client('ssl://' . $hostname . ':' . $port, $error_nr, $error_msg, 5, STREAM_CLIENT_CONNECT, $context);
$stream = stream_socket_client('ssl://' . $hostname . ':' . $port, $error_nr, $error_msg, 5, STREAM_CLIENT_CONNECT, $context);
same change
d76d103
[Web] Move DNS diagnostic to modal, some minor fixes
- Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 722
if (!$stream) {
if (!$stream) {
same change
d76d103
[Web] Move DNS diagnostic to modal, some minor fixes
- Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 723
$error_msg = isset($error_msg) ? $error_msg : '-';
$error_msg = isset($error_msg) ? $error_msg : '-';
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 724
return $error_nr . ': ' . $error_msg;
return $error_nr . ': ' . $error_msg;
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 725
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 726
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 727
else {
else {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 728
$stream = stream_socket_client('tcp://' . $hostname . ':' . $port, $error_nr, $error_msg, 5);
$stream = stream_socket_client('tcp://' . $hostname . ':' . $port, $error_nr, $error_msg, 5);
andre.peters
over 8 years ago
d76d103
[Web] Move DNS diagnostic to modal, some minor fixes
- Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 729
if (!$stream) {
if (!$stream) {
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 730
return $error_nr . ': ' . $error_msg;
return $error_nr . ': ' . $error_msg;
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 731
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 732
$banner = fread($stream, 512 );
$banner = fread($stream, 512 );
Michael Kuron
about 9 years ago
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 733
if (preg_match("/^220/i", $banner)) { // SMTP
if (preg_match("/^220/i", $banner)) { // SMTP
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 734
fwrite($stream,"HELO tlsa.generator.local\r\n");
fwrite($stream,"HELO tlsa.generator.local\r\n");
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 735
fread($stream, 512);
fread($stream, 512);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 736
fwrite($stream,"STARTTLS\r\n");
fwrite($stream,"STARTTLS\r\n");
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 737
fread($stream, 512);
fread($stream, 512);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 738
}
}
Michael Kuron
about 9 years ago
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 739
elseif (preg_match("/imap.+starttls/i", $banner)) { // IMAP
elseif (preg_match("/imap.+starttls/i", $banner)) { // IMAP
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 740
fwrite($stream,"A1 STARTTLS\r\n");
fwrite($stream,"A1 STARTTLS\r\n");
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 741
fread($stream, 512);
fread($stream, 512);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 742
}
}
Michael Kuron
about 9 years ago
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 743
elseif (preg_match("/^\+OK/", $banner)) { // POP3
elseif (preg_match("/^\+OK/", $banner)) { // POP3
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 744
fwrite($stream,"STLS\r\n");
fwrite($stream,"STLS\r\n");
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 745
fread($stream, 512);
fread($stream, 512);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 746
}
}
Michael Kuron
about 9 years ago
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 747
elseif (preg_match("/^OK/m", $banner)) { // Sieve
elseif (preg_match("/^OK/m", $banner)) { // Sieve
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 748
fwrite($stream,"STARTTLS\r\n");
fwrite($stream,"STARTTLS\r\n");
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 749
fread($stream, 512);
fread($stream, 512);
same change
5abeb31
Autoconfig harmonization
- Full commit hash
5abeb313bad795f9005367416f4edacff05a078a- Author
- Michael Kuron <[email protected]>
- Date
- about 9 years ago
- Selected line
- 750
}
}
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 751
else {
else {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 752
return 'Unknown banner: "' . htmlspecialchars(trim($banner)) . '"';
return 'Unknown banner: "' . htmlspecialchars(trim($banner)) . '"';
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 753
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 754
// Upgrade connection
// Upgrade connection
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 755
stream_set_blocking($stream, true);
stream_set_blocking($stream, true);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 756
stream_context_set_option($stream, 'ssl', 'capture_peer_cert', true);
stream_context_set_option($stream, 'ssl', 'capture_peer_cert', true);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 757
stream_context_set_option($stream, 'ssl', 'verify_peer', false);
stream_context_set_option($stream, 'ssl', 'verify_peer', false);
andre.peters
over 8 years ago
3feabe0
[Web] Fixes TLSA for self-signed certs, closes #997
- Full commit hash
3feabe00a287c56ab73e206bb16f27a0371c86d3- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 758
stream_context_set_option($stream, 'ssl', 'verify_peer_name', false);
stream_context_set_option($stream, 'ssl', 'verify_peer_name', false);
andryyy
about 9 years ago
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 759
stream_context_set_option($stream, 'ssl', 'allow_self_signed', true);
stream_context_set_option($stream, 'ssl', 'allow_self_signed', true);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 760
stream_socket_enable_crypto($stream, true, STREAM_CRYPTO_METHOD_ANY_CLIENT);
stream_socket_enable_crypto($stream, true, STREAM_CRYPTO_METHOD_ANY_CLIENT);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 761
stream_set_blocking($stream, false);
stream_set_blocking($stream, false);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 762
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 763
$params = stream_context_get_params($stream);
$params = stream_context_get_params($stream);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 764
if (!empty($params['options']['ssl']['peer_certificate'])) {
if (!empty($params['options']['ssl']['peer_certificate'])) {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 765
$key_resource = openssl_pkey_get_public($params['options']['ssl']['peer_certificate']);
$key_resource = openssl_pkey_get_public($params['options']['ssl']['peer_certificate']);
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 766
// We cannot get ['rsa']['n'], the binary data would contain BEGIN/END PUBLIC KEY
// We cannot get ['rsa']['n'], the binary data would contain BEGIN/END PUBLIC KEY
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 767
$key_data = openssl_pkey_get_details($key_resource)['key'];
$key_data = openssl_pkey_get_details($key_resource)['key'];
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 768
return '3 1 1 ' . openssl_digest(pem_to_der($key_data), 'sha256');
return '3 1 1 ' . openssl_digest(pem_to_der($key_data), 'sha256');
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 769
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 770
else {
else {
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 771
return 'Error: Cannot read peer certificate';
return 'Error: Cannot read peer certificate';
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 772
}
}
same change
112e056
Add function to generate 3 1 1 TLSA digest
- Full commit hash
112e056fda84dc76ada44f100df4c5d1f524e865- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 773
}
}
andryyy
over 5 years ago
04bd216
[Web] Minor fixes
- Full commit hash
04bd21663cc07d45a38f956ceb5ef5a3ae60f66f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 774
function alertbox_log_parser($_data) {
function alertbox_log_parser($_data) {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 775
global $lang;
global $lang;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 776
if (isset($_data['return'])) {
if (isset($_data['return'])) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 777
foreach ($_data['return'] as $return) {
foreach ($_data['return'] as $return) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 778
// Get type
// Get type
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 779
$type = $return['type'];
$type = $return['type'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 780
// If a lang[type][msg] string exists, use it as message
// If a lang[type][msg] string exists, use it as message
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 781
if (isset($return['type']) && isset($return['msg']) && !is_array($return['msg'])) {
if (isset($return['type']) && isset($return['msg']) && !is_array($return['msg'])) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 782
if (isset($lang[$return['type']][$return['msg']])) {
if (isset($lang[$return['type']][$return['msg']])) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 783
$msg = $lang[$return['type']][$return['msg']];
$msg = $lang[$return['type']][$return['msg']];
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 784
}
}
andryyy
almost 5 years ago
d6eb21f
[Web] Fix some empty responses in alert box
- Full commit hash
d6eb21f7a625cc296ad6f1052a07efe9a4b05d72- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 785
else {
else {
same change
d6eb21f
[Web] Fix some empty responses in alert box
- Full commit hash
d6eb21f7a625cc296ad6f1052a07efe9a4b05d72- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 786
$msg = $return['msg'];
$msg = $return['msg'];
same change
d6eb21f
[Web] Fix some empty responses in alert box
- Full commit hash
d6eb21f7a625cc296ad6f1052a07efe9a4b05d72- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 787
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 788
}
}
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 789
// If msg is an array, use first element as language string and run printf on it with remaining array elements
// If msg is an array, use first element as language string and run printf on it with remaining array elements
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 790
elseif (is_array($return['msg'])) {
elseif (is_array($return['msg'])) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 791
$msg = array_shift($return['msg']);
$msg = array_shift($return['msg']);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 792
$msg = vsprintf(
$msg = vsprintf(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 793
$lang[$return['type']][$msg],
$lang[$return['type']][$msg],
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 794
$return['msg']
$return['msg']
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 795
);
);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 796
}
}
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 797
else {
else {
andryyy
almost 5 years ago
d6eb21f
[Web] Fix some empty responses in alert box
- Full commit hash
d6eb21f7a625cc296ad6f1052a07efe9a4b05d72- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 798
$msg = '-';
$msg = '-';
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 799
}
}
andryyy
about 6 years ago
ccc56c5
[Web] Merge same notification types
- Full commit hash
ccc56c54a9926e9b73881417b1c4756ad34474b1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 800
$log_array[] = array('msg' => $msg, 'type' => json_encode($type));
$log_array[] = array('msg' => $msg, 'type' => json_encode($type));
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 801
}
}
Miro Rauhala
about 6 years ago
6bff958
[Web] Clean PHP code by removing unused variables (#3646)
- Full commit hash
6bff958ab4381f27aba5464bce80290015d4458a- Author
- Miro Rauhala <[email protected]>
- Date
- about 6 years ago
- Selected line
- 802
if (!empty($log_array)) {
if (!empty($log_array)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 803
return $log_array;
return $log_array;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 804
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 805
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 806
return false;
return false;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 807
}
}
andryyy
over 5 years ago
04bd216
[Web] Minor fixes
- Full commit hash
04bd21663cc07d45a38f956ceb5ef5a3ae60f66f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 808
function verify_salted_hash($hash, $password, $algo, $salt_length) {
function verify_salted_hash($hash, $password, $algo, $salt_length) {
Felix Kaechele
over 5 years ago
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 809
// Decode hash
// Decode hash
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 810
$dhash = base64_decode($hash);
$dhash = base64_decode($hash);
andryyy
over 5 years ago
04bd216
[Web] Minor fixes
- Full commit hash
04bd21663cc07d45a38f956ceb5ef5a3ae60f66f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 811
// Get first n bytes of binary which equals a SSHA hash
// Get first n bytes of binary which equals a SSHA hash
Felix Kaechele
over 5 years ago
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 812
$ohash = substr($dhash, 0, $salt_length);
$ohash = substr($dhash, 0, $salt_length);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 813
// Remove SSHA hash from decoded hash to get original salt string
// Remove SSHA hash from decoded hash to get original salt string
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 814
$osalt = str_replace($ohash, '', $dhash);
$osalt = str_replace($ohash, '', $dhash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 815
// Check single salted SSHA hash against extracted hash
// Check single salted SSHA hash against extracted hash
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 816
if (hash_equals(hash($algo, $password . $osalt, true), $ohash)) {
if (hash_equals(hash($algo, $password . $osalt, true), $ohash)) {
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 817
return true;
return true;
André
about 8 years ago
1ce5f09
[Web] Verify new hashes: SSHA512 and SHA512-CRYPT, fix password update for users in sogo static view
- Full commit hash
1ce5f09f6e7442e3f81f4b9fd78197cc608d2a8b- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 818
}
}
Felix Kaechele
over 5 years ago
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 819
return false;
return false;
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 820
}
}
andryyy
over 5 years ago
04bd216
[Web] Minor fixes
- Full commit hash
04bd21663cc07d45a38f956ceb5ef5a3ae60f66f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 821
function verify_hash($hash, $password) {
function verify_hash($hash, $password) {
Felix Kaechele
over 5 years ago
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 822
if (preg_match('/^{(.+)}(.+)/i', $hash, $hash_array)) {
if (preg_match('/^{(.+)}(.+)/i', $hash, $hash_array)) {
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 823
$scheme = strtoupper($hash_array[1]);
$scheme = strtoupper($hash_array[1]);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 824
$hash = $hash_array[2];
$hash = $hash_array[2];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 825
switch ($scheme) {
switch ($scheme) {
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 826
case "ARGON2I":
case "ARGON2I":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 827
case "ARGON2ID":
case "ARGON2ID":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 828
case "BLF-CRYPT":
case "BLF-CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 829
case "CRYPT":
case "CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 830
case "DES-CRYPT":
case "DES-CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 831
case "MD5-CRYPT":
case "MD5-CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 832
case "MD5":
case "MD5":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 833
case "SHA256-CRYPT":
case "SHA256-CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 834
case "SHA512-CRYPT":
case "SHA512-CRYPT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 835
return password_verify($password, $hash);
return password_verify($password, $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 836
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 837
case "CLEAR":
case "CLEAR":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 838
case "CLEARTEXT":
case "CLEARTEXT":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 839
case "PLAIN":
case "PLAIN":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 840
return $password == $hash;
return $password == $hash;
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 841
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 842
case "LDAP-MD5":
case "LDAP-MD5":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 843
$hash = base64_decode($hash);
$hash = base64_decode($hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 844
return hash_equals(hash('md5', $password, true), $hash);
return hash_equals(hash('md5', $password, true), $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 845
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 846
case "PBKDF2":
case "PBKDF2":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 847
$components = explode('$', $hash);
$components = explode('$', $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 848
$salt = $components[2];
$salt = $components[2];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 849
$rounds = $components[3];
$rounds = $components[3];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 850
$hash = $components[4];
$hash = $components[4];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 851
return hash_equals(hash_pbkdf2('sha1', $password, $salt, $rounds), $hash);
return hash_equals(hash_pbkdf2('sha1', $password, $salt, $rounds), $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 852
Ashitaka
7 months ago
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 853
case "PBKDF2-SHA512":
case "PBKDF2-SHA512":
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 854
// Handle FreeIPA-style hash: {PBKDF2-SHA512}10000$<base64_salt>$<base64_hash>
// Handle FreeIPA-style hash: {PBKDF2-SHA512}10000$<base64_salt>$<base64_hash>
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 855
$components = explode('$', $hash);
$components = explode('$', $hash);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 856
if (count($components) !== 3) return false;
if (count($components) !== 3) return false;
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 857
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 858
// 1st part: iteration count (integer)
// 1st part: iteration count (integer)
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 859
$iterations = intval($components[0]);
$iterations = intval($components[0]);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 860
if ($iterations <= 0) return false;
if ($iterations <= 0) return false;
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 861
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 862
// 2nd part: salt (base64-encoded)
// 2nd part: salt (base64-encoded)
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 863
$salt = $components[1];
$salt = $components[1];
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 864
// 3rd part: hash (base64-encoded)
// 3rd part: hash (base64-encoded)
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 865
$stored_hash_b64 = $components[2];
$stored_hash_b64 = $components[2];
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 866
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 867
// Decode salt and hash from base64
// Decode salt and hash from base64
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 868
$salt_bin = base64_decode($salt, true);
$salt_bin = base64_decode($salt, true);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 869
$hash_bin = base64_decode($stored_hash_b64, true);
$hash_bin = base64_decode($stored_hash_b64, true);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 870
if ($salt_bin === false || $hash_bin === false) return false;
if ($salt_bin === false || $hash_bin === false) return false;
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 871
// Get length of hash in bytes
// Get length of hash in bytes
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 872
$hash_len = strlen($hash_bin);
$hash_len = strlen($hash_bin);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 873
if ($hash_len === 0) return false;
if ($hash_len === 0) return false;
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 874
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 875
// Calculate PBKDF2-SHA512 hash for provided password
// Calculate PBKDF2-SHA512 hash for provided password
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 876
$test_hash = hash_pbkdf2('sha512', $password, $salt_bin, $iterations, $hash_len, true);
$test_hash = hash_pbkdf2('sha512', $password, $salt_bin, $iterations, $hash_len, true);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 877
return hash_equals($hash_bin, $test_hash);
return hash_equals($hash_bin, $test_hash);
same change
1ab6af2
Merge pull request #6905 from Ashitaka57/6646-pbkdf2-sha512-verify-hash
- Full commit hash
1ab6af21e38f95d631d39f3580bc25de92ef60f4- Author
- Ashitaka <[email protected]>
- Date
- 7 months ago
- Selected line
- 878
Felix Kaechele
over 5 years ago
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 879
case "PLAIN-MD4":
case "PLAIN-MD4":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 880
return hash_equals(hash('md4', $password), $hash);
return hash_equals(hash('md4', $password), $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 881
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 882
case "PLAIN-MD5":
case "PLAIN-MD5":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 883
return md5($password) == $hash;
return md5($password) == $hash;
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 884
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 885
case "PLAIN-TRUNC":
case "PLAIN-TRUNC":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 886
$components = explode('-', $hash);
$components = explode('-', $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 887
if (count($components) > 1) {
if (count($components) > 1) {
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 888
$trunc_len = $components[0];
$trunc_len = $components[0];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 889
$trunc_password = $components[1];
$trunc_password = $components[1];
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 890
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 891
return substr($password, 0, $trunc_len) == $trunc_password;
return substr($password, 0, $trunc_len) == $trunc_password;
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 892
} else {
} else {
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 893
return $password == $hash;
return $password == $hash;
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 894
}
}
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 895
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 896
case "SHA":
case "SHA":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 897
case "SHA1":
case "SHA1":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 898
case "SHA256":
case "SHA256":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 899
case "SHA512":
case "SHA512":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 900
// SHA is an alias for SHA1
// SHA is an alias for SHA1
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 901
$scheme = $scheme == "SHA" ? "sha1" : strtolower($scheme);
$scheme = $scheme == "SHA" ? "sha1" : strtolower($scheme);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 902
$hash = base64_decode($hash);
$hash = base64_decode($hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 903
return hash_equals(hash($scheme, $password, true), $hash);
return hash_equals(hash($scheme, $password, true), $hash);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 904
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 905
case "SMD5":
case "SMD5":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 906
return verify_salted_hash($hash, $password, 'md5', 16);
return verify_salted_hash($hash, $password, 'md5', 16);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 907
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 908
case "SSHA":
case "SSHA":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 909
return verify_salted_hash($hash, $password, 'sha1', 20);
return verify_salted_hash($hash, $password, 'sha1', 20);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 910
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 911
case "SSHA256":
case "SSHA256":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 912
return verify_salted_hash($hash, $password, 'sha256', 32);
return verify_salted_hash($hash, $password, 'sha256', 32);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 913
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 914
case "SSHA512":
case "SSHA512":
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 915
return verify_salted_hash($hash, $password, 'sha512', 64);
return verify_salted_hash($hash, $password, 'sha512', 64);
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 916
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 917
default:
default:
same change
31805f1
[Web] Implement all supported dovecot password schemas (#3974)
- Full commit hash
31805f165632f80f25ce3f2887bd9bda821771c8- Author
- Felix Kaechele <[email protected]>
- Date
- over 5 years ago
- Selected line
- 918
return false;
return false;
Lukas Schreiner
over 5 years ago
d96bf91
Support of different default pass schemes + support of BLF-CRYPT (#3832)
- Full commit hash
d96bf91a0dfc45109e0396546f57ea9297071c03- Author
- Lukas Schreiner <[email protected]>
- Date
- over 5 years ago
- Selected line
- 919
}
}
André
almost 8 years ago
5db40bf
[Web] Implement MD5-CRYPT verification, fixes #1665
- Full commit hash
5db40bf688b3c8824508566877bd795a48ff9673- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 920
}
}
André
about 8 years ago
2f270f3
[Web] Verify additional password hashes (only SHA512-CRYPT is supported today)
- Full commit hash
2f270f3b9b5149a9b4cf5af959ee531554eab32e- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 921
return false;
return false;
andryyy
over 9 years ago
5e883b6
Some last changes
- Full commit hash
5e883b6f5167d2d14168babb6f66030f03db487b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 922
}
}
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 923
function formatBytes($size, $precision = 2) {
function formatBytes($size, $precision = 2) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 924
if(!is_numeric($size)) {
if(!is_numeric($size)) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 925
return "0";
return "0";
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 926
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 927
$base = log($size, 1024);
$base = log($size, 1024);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 928
$suffixes = array(' Byte', ' KiB', ' MiB', ' GiB', ' TiB');
$suffixes = array(' Byte', ' KiB', ' MiB', ' GiB', ' TiB');
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 929
if ($size == "0") {
if ($size == "0") {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 930
return "0";
return "0";
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 931
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 932
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 933
}
}
FreddleSpl0it
over 3 years ago
d9d9583
[Web] optimizing update_sogo_static_view function
- Full commit hash
d9d958356a456018d028c94efdbb0871078ed131- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 934
function update_sogo_static_view($mailbox = null) {
function update_sogo_static_view($mailbox = null) {
andryyy
about 6 years ago
a6247fc
[Web] Do not try to update sogo static view with skip_sogo y
- Full commit hash
a6247fc13f20f5c42687c9ad8ce7cc37221e5e43- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 935
if (getenv('SKIP_SOGO') == "y") {
if (getenv('SKIP_SOGO') == "y") {
same change
a6247fc
[Web] Do not try to update sogo static view with skip_sogo y
- Full commit hash
a6247fc13f20f5c42687c9ad8ce7cc37221e5e43- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 936
return true;
return true;
same change
a6247fc
[Web] Do not try to update sogo static view with skip_sogo y
- Full commit hash
a6247fc13f20f5c42687c9ad8ce7cc37221e5e43- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 937
}
}
André
about 8 years ago
1ce5f09
[Web] Verify new hashes: SSHA512 and SHA512-CRYPT, fix password update for users in sogo static view
- Full commit hash
1ce5f09f6e7442e3f81f4b9fd78197cc608d2a8b- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 938
global $pdo;
global $pdo;
same change
1ce5f09
[Web] Verify new hashes: SSHA512 and SHA512-CRYPT, fix password update for users in sogo static view
- Full commit hash
1ce5f09f6e7442e3f81f4b9fd78197cc608d2a8b- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 939
global $lang;
global $lang;
FreddleSpl0it
over 3 years ago
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 940
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 941
$mailbox_exists = false;
$mailbox_exists = false;
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 942
if ($mailbox !== null) {
if ($mailbox !== null) {
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 943
// Check if the mailbox exists
// Check if the mailbox exists
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 944
$stmt = $pdo->prepare("SELECT username FROM mailbox WHERE username = :mailbox AND active = '1'");
$stmt = $pdo->prepare("SELECT username FROM mailbox WHERE username = :mailbox AND active = '1'");
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 945
$stmt->execute(array(':mailbox' => $mailbox));
$stmt->execute(array(':mailbox' => $mailbox));
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 946
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it
over 3 years ago
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 947
if ($row){
if ($row){
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 948
$mailbox_exists = true;
$mailbox_exists = true;
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 949
}
}
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 950
}
}
same change
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 951
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 952
// generate random password for sogo to deny direct login
// generate random password for sogo to deny direct login
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 953
$random_password = base64_encode(openssl_random_pseudo_bytes(24));
$random_password = base64_encode(openssl_random_pseudo_bytes(24));
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 954
$random_salt = base64_encode(openssl_random_pseudo_bytes(16));
$random_salt = base64_encode(openssl_random_pseudo_bytes(16));
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 955
$random_hash = '{SSHA256}' . base64_encode(hash('sha256', base64_decode($password) . $salt, true) . $salt);
$random_hash = '{SSHA256}' . base64_encode(hash('sha256', base64_decode($password) . $salt, true) . $salt);
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 956
FreddleSpl0it
almost 3 years ago
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 957
$subquery = "GROUP BY mailbox.username";
$subquery = "GROUP BY mailbox.username";
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 958
if ($mailbox_exists) {
if ($mailbox_exists) {
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 959
$subquery = "AND mailbox.username = :mailbox";
$subquery = "AND mailbox.username = :mailbox";
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 960
}
}
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 961
$query = "INSERT INTO _sogo_static_view (`c_uid`, `domain`, `c_name`, `c_password`, `c_cn`, `mail`, `aliases`, `ad_aliases`, `ext_acl`, `kind`, `multiple_bookings`)
$query = "INSERT INTO _sogo_static_view (`c_uid`, `domain`, `c_name`, `c_password`, `c_cn`, `mail`, `aliases`, `ad_aliases`, `ext_acl`, `kind`, `multiple_bookings`)
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 962
SELECT
SELECT
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 963
mailbox.username,
mailbox.username,
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 964
mailbox.domain,
mailbox.domain,
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 965
mailbox.username,
mailbox.username,
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 966
:random_hash,
:random_hash,
FreddleSpl0it
almost 3 years ago
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 967
mailbox.name,
mailbox.name,
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 968
mailbox.username,
mailbox.username,
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 969
IFNULL(GROUP_CONCAT(ga.aliases ORDER BY ga.aliases SEPARATOR ' '), ''),
IFNULL(GROUP_CONCAT(ga.aliases ORDER BY ga.aliases SEPARATOR ' '), ''),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 970
IFNULL(gda.ad_alias, ''),
IFNULL(gda.ad_alias, ''),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 971
IFNULL(external_acl.send_as_acl, ''),
IFNULL(external_acl.send_as_acl, ''),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 972
mailbox.kind,
mailbox.kind,
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 973
mailbox.multiple_bookings
mailbox.multiple_bookings
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 974
FROM
FROM
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 975
mailbox
mailbox
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 976
LEFT OUTER JOIN grouped_mail_aliases ga ON ga.username REGEXP CONCAT('(^|,)', mailbox.username, '($|,)')
LEFT OUTER JOIN grouped_mail_aliases ga ON ga.username REGEXP CONCAT('(^|,)', mailbox.username, '($|,)')
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 977
LEFT OUTER JOIN grouped_domain_alias_address gda ON gda.username = mailbox.username
LEFT OUTER JOIN grouped_domain_alias_address gda ON gda.username = mailbox.username
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 978
LEFT OUTER JOIN grouped_sender_acl_external external_acl ON external_acl.username = mailbox.username
LEFT OUTER JOIN grouped_sender_acl_external external_acl ON external_acl.username = mailbox.username
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 979
WHERE
WHERE
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 980
mailbox.active = '1'
mailbox.active = '1'
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 981
$subquery
$subquery
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 982
ON DUPLICATE KEY UPDATE
ON DUPLICATE KEY UPDATE
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 983
`domain` = VALUES(`domain`),
`domain` = VALUES(`domain`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 984
`c_name` = VALUES(`c_name`),
`c_name` = VALUES(`c_name`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 985
`c_password` = VALUES(`c_password`),
`c_password` = VALUES(`c_password`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 986
`c_cn` = VALUES(`c_cn`),
`c_cn` = VALUES(`c_cn`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 987
`mail` = VALUES(`mail`),
`mail` = VALUES(`mail`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 988
`aliases` = VALUES(`aliases`),
`aliases` = VALUES(`aliases`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 989
`ad_aliases` = VALUES(`ad_aliases`),
`ad_aliases` = VALUES(`ad_aliases`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 990
`ext_acl` = VALUES(`ext_acl`),
`ext_acl` = VALUES(`ext_acl`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 991
`kind` = VALUES(`kind`),
`kind` = VALUES(`kind`),
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 992
`multiple_bookings` = VALUES(`multiple_bookings`)";
`multiple_bookings` = VALUES(`multiple_bookings`)";
same change
ccc17e4
[SOGo] deny direct login on external users
- Full commit hash
ccc17e4a201ba35311ceef1be37e7a06c49c0896- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 993
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 994
FreddleSpl0it
over 3 years ago
e1d8df6
[Web] check mailbox before replacing sogo_static_view
- Full commit hash
e1d8df658031033232f939a9af43dd8e0f448d02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 995
if ($mailbox_exists) {
if ($mailbox_exists) {
FreddleSpl0it
over 3 years ago
4121509
[Web] optimizing update_sogo_static_view function
- Full commit hash
4121509ceb34161ba0c38db899d6c9a287eede94- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 996
$stmt = $pdo->prepare($query);
$stmt = $pdo->prepare($query);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 997
$stmt->execute(array(
$stmt->execute(array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 998
':random_hash' => $random_hash,
':random_hash' => $random_hash,
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 999
':mailbox' => $mailbox
':mailbox' => $mailbox
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1000
));
));
FreddleSpl0it
over 3 years ago
4121509
[Web] optimizing update_sogo_static_view function
- Full commit hash
4121509ceb34161ba0c38db899d6c9a287eede94- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1001
} else {
} else {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1002
$stmt = $pdo->prepare($query);
$stmt = $pdo->prepare($query);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1003
$stmt->execute(array(
$stmt->execute(array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1004
':random_hash' => $random_hash
':random_hash' => $random_hash
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1005
));
));
FreddleSpl0it
over 3 years ago
4121509
[Web] optimizing update_sogo_static_view function
- Full commit hash
4121509ceb34161ba0c38db899d6c9a287eede94- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1006
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1007
FreddleSpl0it
over 3 years ago
4121509
[Web] optimizing update_sogo_static_view function
- Full commit hash
4121509ceb34161ba0c38db899d6c9a287eede94- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1008
$stmt = $pdo->query("DELETE FROM _sogo_static_view WHERE `c_uid` NOT IN (SELECT `username` FROM `mailbox` WHERE `active` = '1');");
$stmt = $pdo->query("DELETE FROM _sogo_static_view WHERE `c_uid` NOT IN (SELECT `username` FROM `mailbox` WHERE `active` = '1');");
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1009
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1010
flush_memcached();
flush_memcached();
André
about 8 years ago
1ce5f09
[Web] Verify new hashes: SSHA512 and SHA512-CRYPT, fix password update for users in sogo static view
- Full commit hash
1ce5f09f6e7442e3f81f4b9fd78197cc608d2a8b- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 1011
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1012
function edit_user_account($_data) {
function edit_user_account($_data) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1013
global $lang;
global $lang;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1014
global $pdo;
global $pdo;
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1015
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1016
$_data_log = $_data;
$_data_log = $_data;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1017
!isset($_data_log['user_new_pass']) ?: $_data_log['user_new_pass'] = '*';
!isset($_data_log['user_new_pass']) ?: $_data_log['user_new_pass'] = '*';
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1018
!isset($_data_log['user_new_pass2']) ?: $_data_log['user_new_pass2'] = '*';
!isset($_data_log['user_new_pass2']) ?: $_data_log['user_new_pass2'] = '*';
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1019
!isset($_data_log['user_old_pass']) ?: $_data_log['user_old_pass'] = '*';
!isset($_data_log['user_old_pass']) ?: $_data_log['user_old_pass'] = '*';
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1020
andryyy
about 9 years ago
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1021
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
same change
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1022
$role = $_SESSION['mailcow_cc_role'];
$role = $_SESSION['mailcow_cc_role'];
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1023
$password_old = $_data['user_old_pass'];
$password_old = $_data['user_old_pass'];
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1024
$pw_recovery_email = $_data['pw_recovery_email'];
$pw_recovery_email = $_data['pw_recovery_email'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1025
andryyy
about 9 years ago
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1026
if (filter_var($username, FILTER_VALIDATE_EMAIL === false) || $role != 'user') {
if (filter_var($username, FILTER_VALIDATE_EMAIL === false) || $role != 'user') {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1027
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1028
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1029
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1030
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1031
);
);
same change
84ad579
[Web] Initial ratelimit support, more API actions
- Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1032
return false;
return false;
andryyy
over 9 years ago
c34a7b6
More changes for better structure and minimal json api in dev
- Full commit hash
c34a7b69b809ddb06a10801e2a46168101cc4b30- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1033
}
}
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1034
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1035
// edit password
// edit password
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1036
$is_forced_pw_update = !empty($_SESSION['pending_pw_update']);
$is_forced_pw_update = !empty($_SESSION['pending_pw_update']);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1037
if (((!empty($password_old) || $is_forced_pw_update) && !empty($_data['user_new_pass']) && !empty($_data['user_new_pass2']))) {
if (((!empty($password_old) || $is_forced_pw_update) && !empty($_data['user_new_pass']) && !empty($_data['user_new_pass2']))) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1038
// Only verify old password if this is NOT a forced password update
// Only verify old password if this is NOT a forced password update
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1039
if (!$is_forced_pw_update) {
if (!$is_forced_pw_update) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1040
$stmt = $pdo->prepare("SELECT `password` FROM `mailbox`
$stmt = $pdo->prepare("SELECT `password` FROM `mailbox`
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1041
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1042
AND `username` = :user AND authsource = 'mailcow'");
AND `username` = :user AND authsource = 'mailcow'");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1043
$stmt->execute(array(':user' => $username));
$stmt->execute(array(':user' => $username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1044
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1045
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1046
if (!verify_hash($row['password'], $password_old)) {
if (!verify_hash($row['password'], $password_old)) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1047
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1048
'type' => 'danger',
'type' => 'danger',
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1049
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1050
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1051
);
);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1052
return false;
return false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1053
}
}
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1054
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1055
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1056
$password_new = $_data['user_new_pass'];
$password_new = $_data['user_new_pass'];
same change
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1057
$password_new2 = $_data['user_new_pass2'];
$password_new2 = $_data['user_new_pass2'];
andryyy
about 5 years ago
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1058
if (password_check($password_new, $password_new2) !== true) {
if (password_check($password_new, $password_new2) !== true) {
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1059
return false;
return false;
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1060
}
}
Shea Ramage
about 5 years ago
08dfc02
[Web] Remove redundant password hash checks (#4180)
- Full commit hash
08dfc0220efd48a4c6d5a20c9504a9ba1b63964c- Author
- Shea Ramage <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1061
$password_hashed = hash_password($password_new);
$password_hashed = hash_password($password_new);
andryyy
about 5 years ago
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1062
$stmt = $pdo->prepare("UPDATE `mailbox` SET `password` = :password_hashed,
$stmt = $pdo->prepare("UPDATE `mailbox` SET `password` = :password_hashed,
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1063
`attributes` = JSON_SET(`attributes`, '$.force_pw_update', '0'),
`attributes` = JSON_SET(`attributes`, '$.force_pw_update', '0'),
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1064
`attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
`attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
FreddleSpl0it
about 3 years ago
5545d8a
[Web] hide auth settings for external users
- Full commit hash
5545d8a56c87f4f3e8267d4a5954470466cdbecd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 1065
WHERE `username` = :username AND authsource = 'mailcow'");
WHERE `username` = :username AND authsource = 'mailcow'");
andryyy
about 5 years ago
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1066
$stmt->execute(array(
$stmt->execute(array(
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1067
':password_hashed' => $password_hashed,
':password_hashed' => $password_hashed,
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1068
':username' => $username
':username' => $username
same change
9773d35
[Web] Fix password policy for mailbox user; minor Solr status fix
- Full commit hash
9773d3549e954c1bb89a280294cdfb57f593e254- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1069
));
));
FreddleSpl0it
over 1 year ago
cb47fa4
[Web] Fix force password update at next login
- Full commit hash
cb47fa406f10ce929543e3e918c11b985a500ab2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1070
$_SESSION['pending_pw_update'] = false;
$_SESSION['pending_pw_update'] = false;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1071
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1072
update_sogo_static_view();
update_sogo_static_view();
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1073
}
}
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1074
// edit password recovery email
// edit password recovery email
FreddleSpl0it
9 months ago
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1075
elseif (!empty($password_old) && isset($pw_recovery_email)) {
elseif (!empty($password_old) && isset($pw_recovery_email)) {
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1076
if (!isset($_SESSION['acl']['pw_reset']) || $_SESSION['acl']['pw_reset'] != "1" ) {
if (!isset($_SESSION['acl']['pw_reset']) || $_SESSION['acl']['pw_reset'] != "1" ) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1077
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1078
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1079
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1080
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1081
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1082
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1083
}
}
FreddleSpl0it
almost 2 years ago
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1084
FreddleSpl0it
9 months ago
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1085
$stmt = $pdo->prepare("SELECT `password` FROM `mailbox`
$stmt = $pdo->prepare("SELECT `password` FROM `mailbox`
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1086
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1087
AND `username` = :user AND authsource = 'mailcow'");
AND `username` = :user AND authsource = 'mailcow'");
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1088
$stmt->execute(array(':user' => $username));
$stmt->execute(array(':user' => $username));
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1089
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1090
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1091
if (!verify_hash($row['password'], $password_old)) {
if (!verify_hash($row['password'], $password_old)) {
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1092
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1093
'type' => 'danger',
'type' => 'danger',
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1094
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1095
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1096
);
);
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1097
return false;
return false;
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1098
}
}
same change
b85837c
[Web] Add password verification when setting recovery email
- Full commit hash
b85837c803f06643ee6bb466ef8957414e3e910a- Author
- FreddleSpl0it <[email protected]>
- Date
- 9 months ago
- Selected line
- 1099
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1100
$pw_recovery_email = (!filter_var($pw_recovery_email, FILTER_VALIDATE_EMAIL)) ? '' : $pw_recovery_email;
$pw_recovery_email = (!filter_var($pw_recovery_email, FILTER_VALIDATE_EMAIL)) ? '' : $pw_recovery_email;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1101
$stmt = $pdo->prepare("UPDATE `mailbox` SET `attributes` = JSON_SET(`attributes`, '$.recovery_email', :recovery_email)
$stmt = $pdo->prepare("UPDATE `mailbox` SET `attributes` = JSON_SET(`attributes`, '$.recovery_email', :recovery_email)
FreddleSpl0it
almost 2 years ago
962ac39
Merge remote-tracking branch 'origin/staging' into nightly
- Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1102
WHERE `username` = :username AND authsource = 'mailcow'");
WHERE `username` = :username AND authsource = 'mailcow'");
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1103
$stmt->execute(array(
$stmt->execute(array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1104
':recovery_email' => $pw_recovery_email,
':recovery_email' => $pw_recovery_email,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1105
':username' => $username
':username' => $username
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1106
));
));
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1107
}
}
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1108
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1109
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1110
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1111
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1112
'msg' => array('mailbox_modified', htmlspecialchars($username))
'msg' => array('mailbox_modified', htmlspecialchars($username))
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1113
);
);
andryyy
over 9 years ago
365abdd
Cleanup, cleanup and cleanup, much better sender acl handling, imapsync jobs, login as mailbox user X
- Full commit hash
365abdda018af236829dfb08db2b68fc32ebaa14- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1114
}
}
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1115
function user_get_alias_details($username) {
function user_get_alias_details($username) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1116
global $pdo;
global $pdo;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1117
global $lang;
global $lang;
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1118
$data['direct_aliases'] = array();
$data['direct_aliases'] = array();
same change
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1119
$data['shared_aliases'] = array();
$data['shared_aliases'] = array();
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1120
if ($_SESSION['mailcow_cc_role'] == "user") {
if ($_SESSION['mailcow_cc_role'] == "user") {
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1121
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1122
}
}
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1123
if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1124
return false;
return false;
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1125
}
}
andryyy
about 5 years ago
735bcb2
[Web] Allow to select aliases for BCC
- Full commit hash
735bcb2f55e93c0025697850635128e178958c5a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1126
if (!hasMailboxObjectAccess($username, $_SESSION['mailcow_cc_role'], $username)) {
if (!hasMailboxObjectAccess($username, $_SESSION['mailcow_cc_role'], $username)) {
same change
735bcb2
[Web] Allow to select aliases for BCC
- Full commit hash
735bcb2f55e93c0025697850635128e178958c5a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1127
return false;
return false;
same change
735bcb2
[Web] Allow to select aliases for BCC
- Full commit hash
735bcb2f55e93c0025697850635128e178958c5a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1128
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1129
$data['address'] = $username;
$data['address'] = $username;
andryyy
over 7 years ago
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1130
$stmt = $pdo->prepare("SELECT `address` AS `shared_aliases`, `public_comment` FROM `alias`
$stmt = $pdo->prepare("SELECT `address` AS `shared_aliases`, `public_comment` FROM `alias`
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1131
WHERE `goto` REGEXP :username_goto
WHERE `goto` REGEXP :username_goto
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1132
AND `address` NOT LIKE '@%'
AND `address` NOT LIKE '@%'
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1133
AND `goto` != :username_goto2
AND `goto` != :username_goto2
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1134
AND `address` != :username_address");
AND `address` != :username_address");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1135
$stmt->execute(array(
$stmt->execute(array(
FreddleSpl0it
over 1 year ago
abd789f
[Web] Escape mailbox name before querying aliases
- Full commit hash
abd789f629a88e5cf7e5eb45f2c19224e91e2f25- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1136
':username_goto' => '(^|,)'.preg_quote($username, '/').'($|,)',
':username_goto' => '(^|,)'.preg_quote($username, '/').'($|,)',
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1137
':username_goto2' => $username,
':username_goto2' => $username,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1138
':username_address' => $username
':username_address' => $username
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1139
));
));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1140
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1141
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
andryyy
over 7 years ago
d60c6a4
[Web] Fix shared alias displain in user view, fixes #2274
- Full commit hash
d60c6a4e56a447bfa9e0592df41e0a3ce550f4f3- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1142
$data['shared_aliases'][$row['shared_aliases']]['public_comment'] = htmlspecialchars($row['public_comment']);
$data['shared_aliases'][$row['shared_aliases']]['public_comment'] = htmlspecialchars($row['public_comment']);
same change
d60c6a4
[Web] Fix shared alias displain in user view, fixes #2274
- Full commit hash
d60c6a4e56a447bfa9e0592df41e0a3ce550f4f3- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1143
//$data['shared_aliases'][] = $row['shared_aliases'];
//$data['shared_aliases'][] = $row['shared_aliases'];
andryyy
over 9 years ago
365abdd
Cleanup, cleanup and cleanup, much better sender acl handling, imapsync jobs, login as mailbox user X
- Full commit hash
365abdda018af236829dfb08db2b68fc32ebaa14- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1144
}
}
andryyy
over 7 years ago
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1145
same change
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1146
$stmt = $pdo->prepare("SELECT `address` AS `direct_aliases`, `public_comment` FROM `alias`
$stmt = $pdo->prepare("SELECT `address` AS `direct_aliases`, `public_comment` FROM `alias`
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1147
WHERE `goto` = :username_goto
WHERE `goto` = :username_goto
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1148
AND `address` NOT LIKE '@%'
AND `address` NOT LIKE '@%'
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1149
AND `address` != :username_address");
AND `address` != :username_address");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1150
$stmt->execute(
$stmt->execute(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1151
array(
array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1152
':username_goto' => $username,
':username_goto' => $username,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1153
':username_address' => $username
':username_address' => $username
andryyy
over 7 years ago
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1154
));
));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1155
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1156
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
andryyy
over 7 years ago
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1157
$data['direct_aliases'][$row['direct_aliases']]['public_comment'] = htmlspecialchars($row['public_comment']);
$data['direct_aliases'][$row['direct_aliases']]['public_comment'] = htmlspecialchars($row['public_comment']);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1158
}
}
andryyy
over 7 years ago
07392b7
[Watchdog] Use stackoverflow.com for DNS check
- Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1159
$stmt = $pdo->prepare("SELECT CONCAT(local_part, '@', alias_domain) AS `ad_alias`, `alias_domain` FROM `mailbox`
$stmt = $pdo->prepare("SELECT CONCAT(local_part, '@', alias_domain) AS `ad_alias`, `alias_domain` FROM `mailbox`
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1160
LEFT OUTER JOIN `alias_domain` on `target_domain` = `domain`
LEFT OUTER JOIN `alias_domain` on `target_domain` = `domain`
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1161
WHERE `username` = :username ;");
WHERE `username` = :username ;");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1162
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1163
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1164
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
andryyy
over 7 years ago
4a1362f
[Web] Minor alias overview fix
- Full commit hash
4a1362fc4de263e3de92d7b673b56f9dca48cc67- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1165
if (empty($row['ad_alias'])) {
if (empty($row['ad_alias'])) {
same change
4a1362f
[Web] Minor alias overview fix
- Full commit hash
4a1362fc4de263e3de92d7b673b56f9dca48cc67- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1166
continue;
continue;
same change
4a1362f
[Web] Minor alias overview fix
- Full commit hash
4a1362fc4de263e3de92d7b673b56f9dca48cc67- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1167
}
}
andryyy
about 5 years ago
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1168
$data['direct_aliases'][$row['ad_alias']]['public_comment'] = $lang['add']['alias_domain'];
$data['direct_aliases'][$row['ad_alias']]['public_comment'] = $lang['add']['alias_domain'];
andryyy
about 5 years ago
e21e0b9
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
- Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1169
$data['alias_domains'][] = $row['alias_domain'];
$data['alias_domains'][] = $row['alias_domain'];
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1170
}
}
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1171
$stmt = $pdo->prepare("SELECT IFNULL(GROUP_CONCAT(`send_as` SEPARATOR ', '), '') AS `send_as` FROM `sender_acl` WHERE `logged_in_as` = :username AND `send_as` NOT LIKE '@%';");
$stmt = $pdo->prepare("SELECT IFNULL(GROUP_CONCAT(`send_as` SEPARATOR ', '), '') AS `send_as` FROM `sender_acl` WHERE `logged_in_as` = :username AND `send_as` NOT LIKE '@%';");
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1172
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1173
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1174
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1175
$data['aliases_also_send_as'] = $row['send_as'];
$data['aliases_also_send_as'] = $row['send_as'];
andryyy
over 9 years ago
365abdd
Cleanup, cleanup and cleanup, much better sender acl handling, imapsync jobs, login as mailbox user X
- Full commit hash
365abdda018af236829dfb08db2b68fc32ebaa14- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1176
}
}
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1177
$stmt = $pdo->prepare("SELECT CONCAT_WS(', ', IFNULL(GROUP_CONCAT(DISTINCT `send_as` SEPARATOR ', '), ''), GROUP_CONCAT(DISTINCT CONCAT('@',`alias_domain`) SEPARATOR ', ')) AS `send_as` FROM `sender_acl` LEFT JOIN `alias_domain` ON `alias_domain`.`target_domain` = TRIM(LEADING '@' FROM `send_as`) WHERE `logged_in_as` = :username AND `send_as` LIKE '@%';");
$stmt = $pdo->prepare("SELECT CONCAT_WS(', ', IFNULL(GROUP_CONCAT(DISTINCT `send_as` SEPARATOR ', '), ''), GROUP_CONCAT(DISTINCT CONCAT('@',`alias_domain`) SEPARATOR ', ')) AS `send_as` FROM `sender_acl` LEFT JOIN `alias_domain` ON `alias_domain`.`target_domain` = TRIM(LEADING '@' FROM `send_as`) WHERE `logged_in_as` = :username AND `send_as` LIKE '@%';");
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1178
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1179
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1180
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1181
$data['aliases_send_as_all'] = $row['send_as'];
$data['aliases_send_as_all'] = $row['send_as'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1182
}
}
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1183
$stmt = $pdo->prepare("SELECT IFNULL(GROUP_CONCAT(`address` SEPARATOR ', '), '') as `address` FROM `alias` WHERE `goto` REGEXP :username AND `address` LIKE '@%';");
$stmt = $pdo->prepare("SELECT IFNULL(GROUP_CONCAT(`address` SEPARATOR ', '), '') as `address` FROM `alias` WHERE `goto` REGEXP :username AND `address` LIKE '@%';");
FreddleSpl0it
over 1 year ago
abd789f
[Web] Escape mailbox name before querying aliases
- Full commit hash
abd789f629a88e5cf7e5eb45f2c19224e91e2f25- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1184
$stmt->execute(array(':username' => '(^|,)'.preg_quote($username, '/').'($|,)'));
$stmt->execute(array(':username' => '(^|,)'.preg_quote($username, '/').'($|,)'));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1185
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
$run = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1186
while ($row = array_shift($run)) {
while ($row = array_shift($run)) {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1187
$data['is_catch_all'] = $row['address'];
$data['is_catch_all'] = $row['address'];
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1188
}
}
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1189
return $data;
return $data;
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1190
}
}
FreddleSpl0it
10 months ago
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1191
function is_valid_domain_name($domain_name, $options = array()) {
function is_valid_domain_name($domain_name, $options = array()) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1192
if (empty($domain_name)) {
if (empty($domain_name)) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1193
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1194
}
}
FreddleSpl0it
10 months ago
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1195
same change
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1196
// Convert domain name to ASCII for validation
// Convert domain name to ASCII for validation
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1197
$domain_name = idn_to_ascii($domain_name, 0, INTL_IDNA_VARIANT_UTS46);
$domain_name = idn_to_ascii($domain_name, 0, INTL_IDNA_VARIANT_UTS46);
FreddleSpl0it
10 months ago
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1198
FreddleSpl0it
10 months ago
ed4dcff
[Web] allow "*" as wildcard domain
- Full commit hash
ed4dcff63b67366ca3974ec3b048bb2299d16c06- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1199
if (isset($options['allow_wildcard']) && $options['allow_wildcard'] == true) {
if (isset($options['allow_wildcard']) && $options['allow_wildcard'] == true) {
FreddleSpl0it
10 months ago
2898597
[Web] Revert - allow "*" as wildcard domain
- Full commit hash
28985973eb746ea5486aa5377fd426ce7a5f5ab1- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1200
// Remove '*.' if wildcard subdomains are allowed
// Remove '*.' if wildcard subdomains are allowed
FreddleSpl0it
10 months ago
ed4dcff
[Web] allow "*" as wildcard domain
- Full commit hash
ed4dcff63b67366ca3974ec3b048bb2299d16c06- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1201
if (strpos($domain_name, '*.') === 0) {
if (strpos($domain_name, '*.') === 0) {
same change
ed4dcff
[Web] allow "*" as wildcard domain
- Full commit hash
ed4dcff63b67366ca3974ec3b048bb2299d16c06- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1202
$domain_name = substr($domain_name, 2);
$domain_name = substr($domain_name, 2);
same change
ed4dcff
[Web] allow "*" as wildcard domain
- Full commit hash
ed4dcff63b67366ca3974ec3b048bb2299d16c06- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1203
}
}
FreddleSpl0it
10 months ago
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1204
}
}
same change
a36485f
[Web] Allow wildcard subdomains for MTA-STS
- Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90- Author
- FreddleSpl0it <[email protected]>
- Date
- 10 months ago
- Selected line
- 1205
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1206
return (preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $domain_name)
return (preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $domain_name)
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1207
&& preg_match("/^.{1,253}$/", $domain_name)
&& preg_match("/^.{1,253}$/", $domain_name)
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1208
&& preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $domain_name));
&& preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $domain_name));
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1209
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1210
function set_tfa($_data) {
function set_tfa($_data) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1211
global $pdo;
global $pdo;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1212
global $yubi;
global $yubi;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1213
global $tfa;
global $tfa;
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1214
global $iam_settings;
global $iam_settings;
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1215
FreddleSpl0it
over 4 years ago
0e4ddac
[WebAuthn] cleanup
- Full commit hash
0e4ddacf92850dde4278b2fb73efaa2106323f07- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1216
$_data_log = $_data;
$_data_log = $_data;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1217
!isset($_data_log['confirm_password']) ?: $_data_log['confirm_password'] = '*';
!isset($_data_log['confirm_password']) ?: $_data_log['confirm_password'] = '*';
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1218
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1219
// skip password check if this is a forced TFA enrollment after login
// skip password check if this is a forced TFA enrollment after login
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1220
if (!empty($_SESSION['pending_tfa_setup'])) {
if (!empty($_SESSION['pending_tfa_setup'])) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1221
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1222
if (empty($username) || !isset($_SESSION['mailcow_cc_role'])) {
if (empty($username) || !isset($_SESSION['mailcow_cc_role'])) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1223
$_SESSION['return'][] = array('type' => 'danger', 'log' => array(__FUNCTION__, $_data_log), 'msg' => 'access_denied');
$_SESSION['return'][] = array('type' => 'danger', 'log' => array(__FUNCTION__, $_data_log), 'msg' => 'access_denied');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1224
return false;
return false;
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1225
}
}
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1226
} else {
} else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1227
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1228
$access_denied = null;
$access_denied = null;
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1229
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1230
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) $access_denied = true;
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) $access_denied = true;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1231
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1232
// check admin password
// check admin password
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1233
if ($access_denied === null) {
if ($access_denied === null) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1234
$stmt = $pdo->prepare("SELECT `password` FROM `admin` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `password` FROM `admin` WHERE `username` = :username");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1235
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1236
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1237
if ($row) {
if ($row) {
FreddleSpl0it
over 2 years ago
3a1dcb3
[Web] fix set_tfa for ldap users
- Full commit hash
3a1dcb3aaf238ba741f08d40047f60e776aa41f2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1238
if (!verify_hash($row['password'], $_data["confirm_password"])) $access_denied = true;
if (!verify_hash($row['password'], $_data["confirm_password"])) $access_denied = true;
same change
3a1dcb3
[Web] fix set_tfa for ldap users
- Full commit hash
3a1dcb3aaf238ba741f08d40047f60e776aa41f2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1239
else $access_denied = false;
else $access_denied = false;
same change
3a1dcb3
[Web] fix set_tfa for ldap users
- Full commit hash
3a1dcb3aaf238ba741f08d40047f60e776aa41f2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 1240
}
}
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1241
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1242
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1243
// check mailbox password
// check mailbox password
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1244
if ($access_denied === null) {
if ($access_denied === null) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1245
$stmt = $pdo->prepare("SELECT `password`, `authsource` FROM `mailbox` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `password`, `authsource` FROM `mailbox` WHERE `username` = :username");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1246
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1247
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1248
if ($row) {
if ($row) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1249
if ($row['authsource'] == 'ldap'){
if ($row['authsource'] == 'ldap'){
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1250
if (!ldap_mbox_login($username, $_data["confirm_password"], $iam_settings)) $access_denied = true;
if (!ldap_mbox_login($username, $_data["confirm_password"], $iam_settings)) $access_denied = true;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1251
else $access_denied = false;
else $access_denied = false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1252
} else {
} else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1253
if (!verify_hash($row['password'], $_data["confirm_password"])) $access_denied = true;
if (!verify_hash($row['password'], $_data["confirm_password"])) $access_denied = true;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1254
else $access_denied = false;
else $access_denied = false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1255
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1256
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1257
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1258
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1259
if ($access_denied) {
if ($access_denied) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1260
$_SESSION['return'][] = array('type' => 'danger', 'log' => array(__FUNCTION__, $_data_log), 'msg' => 'access_denied');
$_SESSION['return'][] = array('type' => 'danger', 'log' => array(__FUNCTION__, $_data_log), 'msg' => 'access_denied');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1261
return false;
return false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1262
}
}
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1263
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1264
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1265
switch ($_data["tfa_method"]) {
switch ($_data["tfa_method"]) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1266
case "yubi_otp":
case "yubi_otp":
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1267
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1268
$yubico_id = $_data['yubico_id'];
$yubico_id = $_data['yubico_id'];
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1269
$yubico_key = $_data['yubico_key'];
$yubico_key = $_data['yubico_key'];
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1270
$yubi = new Auth_Yubico($yubico_id, $yubico_key);
$yubi = new Auth_Yubico($yubico_id, $yubico_key);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1271
if (!$yubi) {
if (!$yubi) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1272
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1273
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1274
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1275
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1276
);
);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1277
return false;
return false;
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1278
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1279
if (!ctype_alnum($_data["otp_token"]) || strlen($_data["otp_token"]) != 44) {
if (!ctype_alnum($_data["otp_token"]) || strlen($_data["otp_token"]) != 44) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1280
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1281
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1282
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1283
'msg' => 'tfa_token_invalid'
'msg' => 'tfa_token_invalid'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1284
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1285
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1286
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1287
$yauth = $yubi->verify($_data["otp_token"]);
$yauth = $yubi->verify($_data["otp_token"]);
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1288
if (PEAR::isError($yauth)) {
if (PEAR::isError($yauth)) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1289
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1290
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1291
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1292
'msg' => array('yotp_verification_failed', $yauth->getMessage())
'msg' => array('yotp_verification_failed', $yauth->getMessage())
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1293
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1294
return false;
return false;
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1295
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1296
try {
try {
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1297
// We could also do a modhex translation here
// We could also do a modhex translation here
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1298
$yubico_modhex_id = substr($_data["otp_token"], 0, 12);
$yubico_modhex_id = substr($_data["otp_token"], 0, 12);
Miro Rauhala
about 6 years ago
6bff958
[Web] Clean PHP code by removing unused variables (#3646)
- Full commit hash
6bff958ab4381f27aba5464bce80290015d4458a- Author
- Miro Rauhala <[email protected]>
- Date
- about 6 years ago
- Selected line
- 1299
$stmt = $pdo->prepare("DELETE FROM `tfa`
$stmt = $pdo->prepare("DELETE FROM `tfa`
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1300
WHERE `username` = :username
WHERE `username` = :username
FreddleSpl0it
about 4 years ago
cd02483
prevent auth wipe out at yubi otp registration
- Full commit hash
cd02483b19f25dcce08fc09cee775cab66d6a5e0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 1301
AND (`authmech` = 'yubi_otp' AND `secret` LIKE :modhex)");
AND (`authmech` = 'yubi_otp' AND `secret` LIKE :modhex)");
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1302
$stmt->execute(array(':username' => $username, ':modhex' => '%' . $yubico_modhex_id));
$stmt->execute(array(':username' => $username, ':modhex' => '%' . $yubico_modhex_id));
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1303
$stmt = $pdo->prepare("INSERT INTO `tfa` (`key_id`, `username`, `authmech`, `active`, `secret`) VALUES
$stmt = $pdo->prepare("INSERT INTO `tfa` (`key_id`, `username`, `authmech`, `active`, `secret`) VALUES
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1304
(:key_id, :username, 'yubi_otp', '1', :secret)");
(:key_id, :username, 'yubi_otp', '1', :secret)");
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1305
$stmt->execute(array(':key_id' => $key_id, ':username' => $username, ':secret' => $yubico_id . ':' . $yubico_key . ':' . $yubico_modhex_id));
$stmt->execute(array(':key_id' => $key_id, ':username' => $username, ':secret' => $yubico_id . ':' . $yubico_key . ':' . $yubico_modhex_id));
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1306
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1307
catch (PDOException $e) {
catch (PDOException $e) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1308
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1309
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1310
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1311
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1312
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1313
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1314
}
}
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1315
unset($_SESSION['pending_tfa_setup']);
unset($_SESSION['pending_tfa_setup']);
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1316
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1317
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1318
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1319
'msg' => array('object_modified', htmlspecialchars($username))
'msg' => array('object_modified', htmlspecialchars($username))
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1320
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1321
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1322
case "totp":
case "totp":
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1323
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1324
if ($tfa->verifyCode($_POST['totp_secret'], $_POST['totp_confirm_token']) === true) {
if ($tfa->verifyCode($_POST['totp_secret'], $_POST['totp_confirm_token']) === true) {
andryyy
over 4 years ago
8769a91
[Web] Allow multiple TOTP
- Full commit hash
8769a91388dc242031dc1edce0731e638b54fe6b- Author
- andryyy <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1325
//$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
//$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
same change
8769a91
[Web] Allow multiple TOTP
- Full commit hash
8769a91388dc242031dc1edce0731e638b54fe6b- Author
- andryyy <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1326
//$stmt->execute(array(':username' => $username));
//$stmt->execute(array(':username' => $username));
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1327
$stmt = $pdo->prepare("INSERT INTO `tfa` (`username`, `key_id`, `authmech`, `secret`, `active`) VALUES (?, ?, 'totp', ?, '1')");
$stmt = $pdo->prepare("INSERT INTO `tfa` (`username`, `key_id`, `authmech`, `secret`, `active`) VALUES (?, ?, 'totp', ?, '1')");
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1328
$stmt->execute(array($username, $key_id, $_POST['totp_secret']));
$stmt->execute(array($username, $key_id, $_POST['totp_secret']));
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1329
unset($_SESSION['pending_tfa_setup']);
unset($_SESSION['pending_tfa_setup']);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1330
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1331
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1332
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1333
'msg' => array('object_modified', $username)
'msg' => array('object_modified', $username)
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1334
);
);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1335
}
}
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1336
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1337
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1338
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1339
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1340
'msg' => 'totp_verification_failed'
'msg' => 'totp_verification_failed'
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1341
);
);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1342
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1343
break;
break;
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1344
case "webauthn":
case "webauthn":
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1345
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
$key_id = (!isset($_data["key_id"])) ? 'unidentified' : $_data["key_id"];
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1346
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1347
$stmt = $pdo->prepare("INSERT INTO `tfa` (`username`, `key_id`, `authmech`, `keyHandle`, `publicKey`, `certificate`, `counter`, `active`)
$stmt = $pdo->prepare("INSERT INTO `tfa` (`username`, `key_id`, `authmech`, `keyHandle`, `publicKey`, `certificate`, `counter`, `active`)
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1348
VALUES (?, ?, 'webauthn', ?, ?, ?, ?, '1')");
VALUES (?, ?, 'webauthn', ?, ?, ?, ?, '1')");
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1349
$stmt->execute(array(
$stmt->execute(array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1350
$username,
$username,
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1351
$key_id,
$key_id,
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1352
base64_encode($_data['registration']->credentialId),
base64_encode($_data['registration']->credentialId),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1353
$_data['registration']->credentialPublicKey,
$_data['registration']->credentialPublicKey,
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1354
$_data['registration']->certificate,
$_data['registration']->certificate,
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1355
0
0
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1356
));
));
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1357
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1358
unset($_SESSION['pending_tfa_setup']);
unset($_SESSION['pending_tfa_setup']);
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1359
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1360
'type' => 'success',
'type' => 'success',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1361
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1362
'msg' => array('object_modified', $username)
'msg' => array('object_modified', $username)
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1363
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1364
break;
break;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1365
case "none":
case "none":
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1366
// Block TFA removal if force_tfa policy is active
// Block TFA removal if force_tfa policy is active
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1367
$is_forced_tfa = false;
$is_forced_tfa = false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1368
if ($_SESSION['mailcow_cc_role'] === 'user') {
if ($_SESSION['mailcow_cc_role'] === 'user') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1369
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `mailbox` WHERE `username` = ?");
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `mailbox` WHERE `username` = ?");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1370
$stmt_check->execute(array($username));
$stmt_check->execute(array($username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1371
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1372
} else {
} else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1373
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `admin` WHERE `username` = ?");
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `admin` WHERE `username` = ?");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1374
$stmt_check->execute(array($username));
$stmt_check->execute(array($username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1375
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1376
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1377
if ($is_forced_tfa) {
if ($is_forced_tfa) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1378
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1379
'type' => 'danger',
'type' => 'danger',
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1380
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1381
'msg' => 'tfa_removal_blocked'
'msg' => 'tfa_removal_blocked'
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1382
);
);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1383
return false;
return false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1384
}
}
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1385
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1386
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1387
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1388
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1389
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1390
'msg' => array('object_modified', htmlspecialchars($username))
'msg' => array('object_modified', htmlspecialchars($username))
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1391
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1392
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1393
}
}
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1394
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1395
function fido2($_data) {
function fido2($_data) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1396
global $pdo;
global $pdo;
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1397
global $WebAuthn;
global $WebAuthn;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1398
$_data_log = $_data;
$_data_log = $_data;
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1399
// Not logging registration data, only actions
// Not logging registration data, only actions
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1400
// Silent errors for "get" requests
// Silent errors for "get" requests
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1401
switch ($_data["action"]) {
switch ($_data["action"]) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1402
case "register":
case "register":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1403
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1404
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1405
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1406
'type' => 'danger',
'type' => 'danger',
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1407
'log' => array(__FUNCTION__, $_data["action"]),
'log' => array(__FUNCTION__, $_data["action"]),
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1408
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1409
);
);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1410
return false;
return false;
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1411
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1412
$stmt = $pdo->prepare("INSERT INTO `fido2` (`username`, `rpId`, `credentialPublicKey`, `certificateChain`, `certificate`, `certificateIssuer`, `certificateSubject`, `signatureCounter`, `AAGUID`, `credentialId`)
$stmt = $pdo->prepare("INSERT INTO `fido2` (`username`, `rpId`, `credentialPublicKey`, `certificateChain`, `certificate`, `certificateIssuer`, `certificateSubject`, `signatureCounter`, `AAGUID`, `credentialId`)
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1413
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1414
$stmt->execute(array(
$stmt->execute(array(
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1415
$username,
$username,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1416
$_data['registration']->rpId,
$_data['registration']->rpId,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1417
$_data['registration']->credentialPublicKey,
$_data['registration']->credentialPublicKey,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1418
$_data['registration']->certificateChain,
$_data['registration']->certificateChain,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1419
$_data['registration']->certificate,
$_data['registration']->certificate,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1420
$_data['registration']->certificateIssuer,
$_data['registration']->certificateIssuer,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1421
$_data['registration']->certificateSubject,
$_data['registration']->certificateSubject,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1422
$_data['registration']->signatureCounter,
$_data['registration']->signatureCounter,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1423
$_data['registration']->AAGUID,
$_data['registration']->AAGUID,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1424
$_data['registration']->credentialId)
$_data['registration']->credentialId)
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1425
);
);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1426
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1427
'type' => 'success',
'type' => 'success',
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1428
'log' => array(__FUNCTION__, $_data["action"]),
'log' => array(__FUNCTION__, $_data["action"]),
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1429
'msg' => array('object_modified', $username)
'msg' => array('object_modified', $username)
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1430
);
);
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1431
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1432
case "get_user_cids":
case "get_user_cids":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1433
// Used to exclude existing CredentialIds while registering
// Used to exclude existing CredentialIds while registering
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1434
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1435
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1436
return false;
return false;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1437
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1438
$stmt = $pdo->prepare("SELECT `credentialId` FROM `fido2` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `credentialId` FROM `fido2` WHERE `username` = :username");
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1439
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1440
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1441
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1442
$cids[] = $row['credentialId'];
$cids[] = $row['credentialId'];
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1443
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1444
return $cids;
return $cids;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1445
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1446
case "get_all_cids":
case "get_all_cids":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1447
// Only needed when using fido2 with username
// Only needed when using fido2 with username
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1448
$stmt = $pdo->query("SELECT `credentialId` FROM `fido2`");
$stmt = $pdo->query("SELECT `credentialId` FROM `fido2`");
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1449
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1450
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1451
$cids[] = $row['credentialId'];
$cids[] = $row['credentialId'];
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1452
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1453
return $cids;
return $cids;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1454
break;
break;
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1455
case "get_by_b64cid":
case "get_by_b64cid":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1456
if (!isset($_data['cid']) || empty($_data['cid'])) {
if (!isset($_data['cid']) || empty($_data['cid'])) {
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1457
return false;
return false;
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1458
}
}
FreddleSpl0it
over 4 years ago
5712192
[WebAuthn] fix error on android
- Full commit hash
5712192bcb1ace15804dc6826e72b211fa618cf1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1459
$stmt = $pdo->prepare("SELECT `certificateSubject`, `username`, `credentialPublicKey`, SHA2(`credentialId`, 256) AS `cid` FROM `fido2` WHERE `credentialId` = :cid");
$stmt = $pdo->prepare("SELECT `certificateSubject`, `username`, `credentialPublicKey`, SHA2(`credentialId`, 256) AS `cid` FROM `fido2` WHERE `credentialId` = :cid");
same change
5712192
[WebAuthn] fix error on android
- Full commit hash
5712192bcb1ace15804dc6826e72b211fa618cf1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1460
$stmt->execute(array(':cid' => base64_decode($_data['cid'])));
$stmt->execute(array(':cid' => base64_decode($_data['cid'])));
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1461
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1462
if (empty($row) || empty($row['credentialPublicKey']) || empty($row['username'])) {
if (empty($row) || empty($row['credentialPublicKey']) || empty($row['username'])) {
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1463
return false;
return false;
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1464
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1465
$data['pub_key'] = $row['credentialPublicKey'];
$data['pub_key'] = $row['credentialPublicKey'];
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1466
$data['username'] = $row['username'];
$data['username'] = $row['username'];
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1467
$data['subject'] = $row['certificateSubject'];
$data['subject'] = $row['certificateSubject'];
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1468
$data['cid'] = $row['cid'];
$data['cid'] = $row['cid'];
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1469
return $data;
return $data;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1470
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1471
case "get_friendly_names":
case "get_friendly_names":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1472
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1473
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1474
return false;
return false;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1475
}
}
andryyy
over 5 years ago
8d05d4a
[Web] Cleanup Rspamd, other fixes
- Full commit hash
8d05d4a51d8fb80dd5328c8137bbe34386b45b61- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1476
$stmt = $pdo->prepare("SELECT SHA2(`credentialId`, 256) AS `cid`, `created`, `certificateSubject`, `friendlyName` FROM `fido2` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT SHA2(`credentialId`, 256) AS `cid`, `created`, `certificateSubject`, `friendlyName` FROM `fido2` WHERE `username` = :username");
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1477
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1478
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1479
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1480
$fns[] = array(
$fns[] = array(
andryyy
over 5 years ago
8d05d4a
[Web] Cleanup Rspamd, other fixes
- Full commit hash
8d05d4a51d8fb80dd5328c8137bbe34386b45b61- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1481
"subject" => (empty($row['certificateSubject']) ? 'Unknown (' . $row['created'] . ')' : $row['certificateSubject']),
"subject" => (empty($row['certificateSubject']) ? 'Unknown (' . $row['created'] . ')' : $row['certificateSubject']),
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1482
"fn" => $row['friendlyName'],
"fn" => $row['friendlyName'],
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1483
"cid" => $row['cid']
"cid" => $row['cid']
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1484
);
);
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1485
}
}
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1486
return $fns;
return $fns;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1487
break;
break;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1488
case "unset_fido2_key":
case "unset_fido2_key":
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1489
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1490
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1491
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1492
'type' => 'danger',
'type' => 'danger',
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1493
'log' => array(__FUNCTION__, $_data["action"]),
'log' => array(__FUNCTION__, $_data["action"]),
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1494
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1495
);
);
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1496
return false;
return false;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1497
}
}
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1498
$stmt = $pdo->prepare("DELETE FROM `fido2` WHERE `username` = :username AND SHA2(`credentialId`, 256) = :cid");
$stmt = $pdo->prepare("DELETE FROM `fido2` WHERE `username` = :username AND SHA2(`credentialId`, 256) = :cid");
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1499
$stmt->execute(array(
$stmt->execute(array(
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1500
':username' => $username,
':username' => $username,
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1501
':cid' => $_data['post_data']['unset_fido2_key']
':cid' => $_data['post_data']['unset_fido2_key']
same change
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1502
));
));
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1503
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1504
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1505
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1506
'msg' => array('object_modified', htmlspecialchars($username))
'msg' => array('object_modified', htmlspecialchars($username))
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1507
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1508
break;
break;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1509
case "edit_fn":
case "edit_fn":
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1510
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
about 5 years ago
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1511
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1512
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1513
'type' => 'danger',
'type' => 'danger',
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1514
'log' => array(__FUNCTION__, $_data["action"]),
'log' => array(__FUNCTION__, $_data["action"]),
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1515
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1516
);
);
same change
d156a93
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip
- Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 1517
return false;
return false;
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1518
}
}
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1519
$stmt = $pdo->prepare("UPDATE `fido2` SET `friendlyName` = :friendlyName WHERE SHA2(`credentialId`, 256) = :cid AND `username` = :username");
$stmt = $pdo->prepare("UPDATE `fido2` SET `friendlyName` = :friendlyName WHERE SHA2(`credentialId`, 256) = :cid AND `username` = :username");
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1520
$stmt->execute(array(
$stmt->execute(array(
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1521
':username' => $username,
':username' => $username,
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1522
':friendlyName' => $_data['fido2_attrs']['fido2_fn'],
':friendlyName' => $_data['fido2_attrs']['fido2_fn'],
andryyy
over 5 years ago
4a355f2
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject
- Full commit hash
4a355f242f4b80e9230bb65d13275932833bf569- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1523
':cid' => $_data['fido2_attrs']['fido2_cid']
':cid' => $_data['fido2_attrs']['fido2_cid']
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 1524
));
));
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1525
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1526
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1527
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1528
'msg' => array('object_modified', htmlspecialchars($username))
'msg' => array('object_modified', htmlspecialchars($username))
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1529
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1530
break;
break;
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1531
case "verify":
case "verify":
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1532
$role = "";
$role = "";
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1533
$tokenData = json_decode($_data['token']);
$tokenData = json_decode($_data['token']);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1534
$clientDataJSON = base64_decode($tokenData->clientDataJSON);
$clientDataJSON = base64_decode($tokenData->clientDataJSON);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1535
$authenticatorData = base64_decode($tokenData->authenticatorData);
$authenticatorData = base64_decode($tokenData->authenticatorData);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1536
$signature = base64_decode($tokenData->signature);
$signature = base64_decode($tokenData->signature);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1537
$id = base64_decode($tokenData->id);
$id = base64_decode($tokenData->id);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1538
$challenge = $_SESSION['challenge'];
$challenge = $_SESSION['challenge'];
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1539
$process_fido2 = fido2(array("action" => "get_by_b64cid", "cid" => $tokenData->id));
$process_fido2 = fido2(array("action" => "get_by_b64cid", "cid" => $tokenData->id));
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1540
if ($process_fido2['pub_key'] === false) {
if ($process_fido2['pub_key'] === false) {
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1541
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1542
'type' => 'danger',
'type' => 'danger',
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1543
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1544
'msg' => "login_failed"
'msg' => "login_failed"
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1545
);
);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1546
return false;
return false;
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1547
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1548
try {
try {
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1549
$WebAuthn->processGet($clientDataJSON, $authenticatorData, $signature, $process_fido2['pub_key'], $challenge, null, $GLOBALS['FIDO2_UV_FLAG_LOGIN'], $GLOBALS['FIDO2_USER_PRESENT_FLAG']);
$WebAuthn->processGet($clientDataJSON, $authenticatorData, $signature, $process_fido2['pub_key'], $challenge, null, $GLOBALS['FIDO2_UV_FLAG_LOGIN'], $GLOBALS['FIDO2_USER_PRESENT_FLAG']);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1550
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1551
catch (Throwable $ex) {
catch (Throwable $ex) {
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1552
unset($process_fido2);
unset($process_fido2);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1553
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1554
'type' => 'danger',
'type' => 'danger',
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1555
'log' => array("fido2_login", $_data['user'], $process_fido2['username'], $ex->getMessage()),
'log' => array("fido2_login", $_data['user'], $process_fido2['username'], $ex->getMessage()),
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1556
'msg' => "login_failed"
'msg' => "login_failed"
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1557
);
);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1558
return false;
return false;
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1559
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1560
$return = new stdClass();
$return = new stdClass();
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1561
$return->success = true;
$return->success = true;
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1562
$stmt = $pdo->prepare("SELECT `superadmin` FROM `admin` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `superadmin` FROM `admin` WHERE `username` = :username");
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1563
$stmt->execute(array(':username' => $process_fido2['username']));
$stmt->execute(array(':username' => $process_fido2['username']));
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1564
$obj_props = $stmt->fetch(PDO::FETCH_ASSOC);
$obj_props = $stmt->fetch(PDO::FETCH_ASSOC);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1565
if ($obj_props['superadmin'] === 1 && (!$_data['user'] || $_data['user'] == "admin")) {
if ($obj_props['superadmin'] === 1 && (!$_data['user'] || $_data['user'] == "admin")) {
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1566
$role = "admin";
$role = "admin";
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1567
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1568
elseif ($obj_props['superadmin'] === 0 && (!$_data['user'] || $_data['user'] == "domainadmin")) {
elseif ($obj_props['superadmin'] === 0 && (!$_data['user'] || $_data['user'] == "domainadmin")) {
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1569
$role = "domainadmin";
$role = "domainadmin";
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1570
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1571
elseif (!isset($obj_props['superadmin']) && (!$_data['user'] || $_data['user'] == "user")) {
elseif (!isset($obj_props['superadmin']) && (!$_data['user'] || $_data['user'] == "user")) {
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1572
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :username");
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1573
$stmt->execute(array(':username' => $process_fido2['username']));
$stmt->execute(array(':username' => $process_fido2['username']));
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1574
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1575
if ($row['username'] == $process_fido2['username']) {
if ($row['username'] == $process_fido2['username']) {
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1576
$role = "user";
$role = "user";
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1577
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1578
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1579
else {
else {
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1580
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1581
'type' => 'danger',
'type' => 'danger',
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1582
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1583
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1584
);
);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1585
return false;
return false;
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1586
}
}
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1587
if (empty($role)) {
if (empty($role)) {
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1588
session_unset();
session_unset();
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1589
session_destroy();
session_destroy();
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1590
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1591
'type' => 'danger',
'type' => 'danger',
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1592
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1593
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1594
);
);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1595
return false;
return false;
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1596
}
}
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1597
unset($_SESSION["challenge"]);
unset($_SESSION["challenge"]);
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1598
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1599
'type' => 'success',
'type' => 'success',
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1600
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
'log' => array("fido2_login", $_data['user'], $process_fido2['username']),
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1601
'msg' => array('logged_in_as', $process_fido2['username'])
'msg' => array('logged_in_as', $process_fido2['username'])
same change
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1602
);
);
FreddleSpl0it
over 1 year ago
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1603
return array(
return array(
same change
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1604
"role" => $role,
"role" => $role,
same change
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1605
"username" => $process_fido2['username'],
"username" => $process_fido2['username'],
same change
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1606
"cid" => $process_fido2['cid']
"cid" => $process_fido2['cid']
same change
fcb1b29
[Web] Fix SOGo access after Passwordless auth
- Full commit hash
fcb1b29c890ca2cd5e6718b7cec9c078d3a5251a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1607
);
);
FreddleSpl0it
over 1 year ago
bc21e7f
[Web] Separate FIDO2 logins
- Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 1608
break;
break;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1609
}
}
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1610
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1611
function unset_tfa_key($_data) {
function unset_tfa_key($_data) {
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1612
// Can only unset own keys
// Can only unset own keys
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1613
// Needs at least one key left
// Needs at least one key left
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1614
global $pdo;
global $pdo;
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1615
global $lang;
global $lang;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1616
$_data_log = $_data;
$_data_log = $_data;
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1617
$access_denied = null;
$access_denied = null;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1618
$id = intval($_data['unset_tfa_key']);
$id = intval($_data['unset_tfa_key']);
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1619
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1620
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1621
// check for empty user and role
// check for empty user and role
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1622
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) $access_denied = true;
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) $access_denied = true;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1623
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1624
try {
try {
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1625
if (!is_numeric($id)) $access_denied = true;
if (!is_numeric($id)) $access_denied = true;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1626
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1627
// set access_denied error
// set access_denied error
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1628
if ($access_denied){
if ($access_denied){
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1629
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1630
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1631
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1632
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1633
);
);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1634
return false;
return false;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1635
}
}
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1636
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1637
// Block key removal if force_tfa policy is active
// Block key removal if force_tfa policy is active
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1638
$is_forced_tfa = false;
$is_forced_tfa = false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1639
if ($_SESSION['mailcow_cc_role'] === 'user') {
if ($_SESSION['mailcow_cc_role'] === 'user') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1640
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `mailbox` WHERE `username` = ?");
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `mailbox` WHERE `username` = ?");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1641
$stmt_check->execute(array($username));
$stmt_check->execute(array($username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1642
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1643
} else {
} else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1644
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `admin` WHERE `username` = ?");
$stmt_check = $pdo->prepare("SELECT JSON_EXTRACT(`attributes`, '$.force_tfa') FROM `admin` WHERE `username` = ?");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1645
$stmt_check->execute(array($username));
$stmt_check->execute(array($username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1646
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
$is_forced_tfa = ($stmt_check->fetchColumn() == '1');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1647
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1648
if ($is_forced_tfa) {
if ($is_forced_tfa) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1649
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1650
'type' => 'danger',
'type' => 'danger',
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1651
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1652
'msg' => 'tfa_removal_blocked'
'msg' => 'tfa_removal_blocked'
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1653
);
);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1654
return false;
return false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1655
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1656
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1657
// check if it's last key
// check if it's last key
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1658
$stmt = $pdo->prepare("SELECT COUNT(*) AS `keys` FROM `tfa`
$stmt = $pdo->prepare("SELECT COUNT(*) AS `keys` FROM `tfa`
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1659
WHERE `username` = :username AND `active` = '1'");
WHERE `username` = :username AND `active` = '1'");
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1660
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1661
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1662
if ($row['keys'] == "1") {
if ($row['keys'] == "1") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1663
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1664
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1665
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1666
'msg' => 'last_key'
'msg' => 'last_key'
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1667
);
);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1668
return false;
return false;
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1669
}
}
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1670
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1671
// delete key
// delete key
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1672
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username AND `id` = :id");
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username AND `id` = :id");
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1673
$stmt->execute(array(':username' => $username, ':id' => $id));
$stmt->execute(array(':username' => $username, ':id' => $id));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1674
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1675
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1676
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1677
'msg' => array('object_modified', $username)
'msg' => array('object_modified', $username)
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1678
);
);
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1679
}
}
same change
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1680
catch (PDOException $e) {
catch (PDOException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1681
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1682
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1683
'log' => array(__FUNCTION__, $_data_log),
'log' => array(__FUNCTION__, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1684
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1685
);
);
same change
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1686
return false;
return false;
same change
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1687
}
}
andryyy
over 9 years ago
eb3fb6d
Add resources
- Full commit hash
eb3fb6d1f8828ea531a95f06ace0a5eb9c56bc85- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1688
}
}
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1689
function tfa_exists($username) {
function tfa_exists($username) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1690
global $pdo;
global $pdo;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1691
if (empty($username)) {
if (empty($username)) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1692
return false;
return false;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1693
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1694
$stmt = $pdo->prepare("SELECT COUNT(*) as count FROM `tfa` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT COUNT(*) as count FROM `tfa` WHERE `username` = :username");
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1695
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1696
return $stmt->fetch(PDO::FETCH_ASSOC)['count'] > 0;
return $stmt->fetch(PDO::FETCH_ASSOC)['count'] > 0;
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 1697
}
}
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1698
function get_tfa($username = null, $id = null) {
function get_tfa($username = null, $id = null) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1699
global $pdo;
global $pdo;
FreddleSpl0it
about 2 years ago
f33d82f
[Web] use correct user to fetch TFA authenticators
- Full commit hash
f33d82ffc11ed3438609d4e7a6baa78cb3305bc3- Author
- FreddleSpl0it <[email protected]>
- Date
- about 2 years ago
- Selected line
- 1700
if (empty($username) && isset($_SESSION['mailcow_cc_username'])) {
if (empty($username) && isset($_SESSION['mailcow_cc_username'])) {
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1701
$username = $_SESSION['mailcow_cc_username'];
$username = $_SESSION['mailcow_cc_username'];
andryyy
over 9 years ago
eb3fb6d
Add resources
- Full commit hash
eb3fb6d1f8828ea531a95f06ace0a5eb9c56bc85- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1702
}
}
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1703
elseif (empty($username)) {
elseif (empty($username)) {
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1704
return false;
return false;
same change
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1705
}
}
Miro Rauhala
about 6 years ago
6bff958
[Web] Clean PHP code by removing unused variables (#3646)
- Full commit hash
6bff958ab4381f27aba5464bce80290015d4458a- Author
- Miro Rauhala <[email protected]>
- Date
- about 6 years ago
- Selected line
- 1706
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1707
if (!isset($id)){
if (!isset($id)){
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1708
// fetch all tfa methods - just get information about possible authenticators
// fetch all tfa methods - just get information about possible authenticators
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1709
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `authmech` FROM `tfa`
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `authmech` FROM `tfa`
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1710
WHERE `username` = :username AND `active` = '1'");
WHERE `username` = :username AND `active` = '1'");
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1711
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1712
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1713
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1714
// no tfa methods found
// no tfa methods found
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1715
if (count($results) == 0) {
if (count($results) == 0) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1716
$data['name'] = 'none';
$data['name'] = 'none';
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1717
$data['pretty'] = "-";
$data['pretty'] = "-";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1718
$data['additional'] = array();
$data['additional'] = array();
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1719
return $data;
return $data;
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1720
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1721
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1722
$data['additional'] = $results;
$data['additional'] = $results;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1723
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1724
} else {
} else {
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1725
// fetch specific authenticator details by id
// fetch specific authenticator details by id
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1726
$stmt = $pdo->prepare("SELECT * FROM `tfa`
$stmt = $pdo->prepare("SELECT * FROM `tfa`
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1727
WHERE `username` = :username AND `id` = :id AND `active` = '1'");
WHERE `username` = :username AND `id` = :id AND `active` = '1'");
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1728
$stmt->execute(array(':username' => $username, ':id' => $id));
$stmt->execute(array(':username' => $username, ':id' => $id));
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1729
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1730
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1731
if (isset($row["authmech"])) {
if (isset($row["authmech"])) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1732
switch ($row["authmech"]) {
switch ($row["authmech"]) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1733
case "yubi_otp":
case "yubi_otp":
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1734
$data['name'] = "yubi_otp";
$data['name'] = "yubi_otp";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1735
$data['pretty'] = "Yubico OTP";
$data['pretty'] = "Yubico OTP";
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1736
$stmt = $pdo->prepare("SELECT `id`, `key_id`, RIGHT(`secret`, 12) AS 'modhex' FROM `tfa` WHERE `authmech` = 'yubi_otp' AND `username` = :username AND `id` = :id");
$stmt = $pdo->prepare("SELECT `id`, `key_id`, RIGHT(`secret`, 12) AS 'modhex' FROM `tfa` WHERE `authmech` = 'yubi_otp' AND `username` = :username AND `id` = :id");
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1737
$stmt->execute(array(
$stmt->execute(array(
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1738
':username' => $username,
':username' => $username,
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1739
':id' => $id
':id' => $id
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1740
));
));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1741
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1742
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1743
$data['additional'][] = $row;
$data['additional'][] = $row;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1744
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1745
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1746
break;
break;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1747
// u2f - deprecated, should be removed
// u2f - deprecated, should be removed
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1748
case "u2f":
case "u2f":
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1749
$data['name'] = "u2f";
$data['name'] = "u2f";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1750
$data['pretty'] = "Fido U2F";
$data['pretty'] = "Fido U2F";
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1751
$stmt = $pdo->prepare("SELECT `id`, `key_id` FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username AND `id` = :id");
$stmt = $pdo->prepare("SELECT `id`, `key_id` FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username AND `id` = :id");
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1752
$stmt->execute(array(
$stmt->execute(array(
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1753
':username' => $username,
':username' => $username,
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1754
':id' => $id
':id' => $id
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1755
));
));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1756
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1757
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1758
$data['additional'][] = $row;
$data['additional'][] = $row;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1759
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1760
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1761
break;
break;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1762
case "hotp":
case "hotp":
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1763
$data['name'] = "hotp";
$data['name'] = "hotp";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1764
$data['pretty'] = "HMAC-based OTP";
$data['pretty'] = "HMAC-based OTP";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1765
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1766
break;
break;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1767
case "totp":
case "totp":
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1768
$data['name'] = "totp";
$data['name'] = "totp";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1769
$data['pretty'] = "Time-based OTP";
$data['pretty'] = "Time-based OTP";
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1770
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `secret` FROM `tfa` WHERE `authmech` = 'totp' AND `username` = :username AND `id` = :id");
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `secret` FROM `tfa` WHERE `authmech` = 'totp' AND `username` = :username AND `id` = :id");
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1771
$stmt->execute(array(
$stmt->execute(array(
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1772
':username' => $username,
':username' => $username,
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1773
':id' => $id
':id' => $id
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1774
));
));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1775
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1776
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1777
$data['additional'][] = $row;
$data['additional'][] = $row;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1778
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1779
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1780
break;
break;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1781
case "webauthn":
case "webauthn":
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1782
$data['name'] = "webauthn";
$data['name'] = "webauthn";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1783
$data['pretty'] = "WebAuthn";
$data['pretty'] = "WebAuthn";
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1784
$stmt = $pdo->prepare("SELECT `id`, `key_id` FROM `tfa` WHERE `authmech` = 'webauthn' AND `username` = :username AND `id` = :id");
$stmt = $pdo->prepare("SELECT `id`, `key_id` FROM `tfa` WHERE `authmech` = 'webauthn' AND `username` = :username AND `id` = :id");
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1785
$stmt->execute(array(
$stmt->execute(array(
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1786
':username' => $username,
':username' => $username,
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1787
':id' => $id
':id' => $id
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1788
));
));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1789
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1790
while($row = array_shift($rows)) {
while($row = array_shift($rows)) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1791
$data['additional'][] = $row;
$data['additional'][] = $row;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1792
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1793
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1794
break;
break;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1795
default:
default:
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1796
$data['name'] = 'none';
$data['name'] = 'none';
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1797
$data['pretty'] = "-";
$data['pretty'] = "-";
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1798
return $data;
return $data;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1799
break;
break;
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1800
}
}
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1801
}
}
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1802
else {
else {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1803
$data['name'] = 'none';
$data['name'] = 'none';
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1804
$data['pretty'] = "-";
$data['pretty'] = "-";
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1805
return $data;
return $data;
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1806
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 1807
}
}
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1808
}
}
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1809
function verify_tfa_login($username, $_data) {
function verify_tfa_login($username, $_data) {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1810
global $pdo;
global $pdo;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1811
global $yubi;
global $yubi;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1812
global $u2f;
global $u2f;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1813
global $tfa;
global $tfa;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1814
global $WebAuthn;
global $WebAuthn;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1815
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1816
if ($_data['tfa_method'] != 'u2f'){
if ($_data['tfa_method'] != 'u2f'){
Miro Rauhala
about 6 years ago
6bff958
[Web] Clean PHP code by removing unused variables (#3646)
- Full commit hash
6bff958ab4381f27aba5464bce80290015d4458a- Author
- Miro Rauhala <[email protected]>
- Date
- about 6 years ago
- Selected line
- 1817
FreddleSpl0it
about 4 years ago
c8620a0
yubi_otp undo authenticator selection
- Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 1818
switch ($_data["tfa_method"]) {
switch ($_data["tfa_method"]) {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1819
case "yubi_otp":
case "yubi_otp":
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1820
if (!ctype_alnum($_data['token']) || strlen($_data['token']) != 44) {
if (!ctype_alnum($_data['token']) || strlen($_data['token']) != 44) {
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1821
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1822
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1823
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1824
'msg' => array('yotp_verification_failed', 'token length error')
'msg' => array('yotp_verification_failed', 'token length error')
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1825
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1826
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1827
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1828
$yubico_modhex_id = substr($_data['token'], 0, 12);
$yubico_modhex_id = substr($_data['token'], 0, 12);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1829
$stmt = $pdo->prepare("SELECT `id`, `secret` FROM `tfa`
$stmt = $pdo->prepare("SELECT `id`, `secret` FROM `tfa`
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1830
WHERE `username` = :username
WHERE `username` = :username
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1831
AND `authmech` = 'yubi_otp'
AND `authmech` = 'yubi_otp'
FreddleSpl0it
over 4 years ago
6d3798a
[Web] fix yubi otp
- Full commit hash
6d3798ad08176cf542bb2fdea858be99cccbf190- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1832
AND `active` = '1'
AND `active` = '1'
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1833
AND `secret` LIKE :modhex");
AND `secret` LIKE :modhex");
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1834
$stmt->execute(array(':username' => $username, ':modhex' => '%' . $yubico_modhex_id));
$stmt->execute(array(':username' => $username, ':modhex' => '%' . $yubico_modhex_id));
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1835
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1836
$yubico_auth = explode(':', $row['secret']);
$yubico_auth = explode(':', $row['secret']);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1837
$yubi = new Auth_Yubico($yubico_auth[0], $yubico_auth[1]);
$yubi = new Auth_Yubico($yubico_auth[0], $yubico_auth[1]);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1838
$yauth = $yubi->verify($_data['token']);
$yauth = $yubi->verify($_data['token']);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1839
if (PEAR::isError($yauth)) {
if (PEAR::isError($yauth)) {
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1840
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1841
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1842
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1843
'msg' => array('yotp_verification_failed', $yauth->getMessage())
'msg' => array('yotp_verification_failed', $yauth->getMessage())
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1844
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1845
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1846
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1847
else {
else {
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1848
$_SESSION['tfa_id'] = $row['id'];
$_SESSION['tfa_id'] = $row['id'];
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1849
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1850
'type' => 'success',
'type' => 'success',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1851
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1852
'msg' => 'verified_yotp_login'
'msg' => 'verified_yotp_login'
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1853
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1854
return true;
return true;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1855
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1856
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1857
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1858
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1859
'msg' => array('yotp_verification_failed', 'unknown')
'msg' => array('yotp_verification_failed', 'unknown')
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1860
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1861
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1862
break;
break;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1863
case "hotp":
case "hotp":
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1864
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1865
break;
break;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1866
case "totp":
case "totp":
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1867
try {
try {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1868
$stmt = $pdo->prepare("SELECT `id`, `secret` FROM `tfa`
$stmt = $pdo->prepare("SELECT `id`, `secret` FROM `tfa`
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1869
WHERE `username` = :username
WHERE `username` = :username
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1870
AND `authmech` = 'totp'
AND `authmech` = 'totp'
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1871
AND `id` = :id
AND `id` = :id
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1872
AND `active`='1'");
AND `active`='1'");
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1873
$stmt->execute(array(':username' => $username, ':id' => $_data['id']));
$stmt->execute(array(':username' => $username, ':id' => $_data['id']));
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1874
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1875
foreach ($rows as $row) {
foreach ($rows as $row) {
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1876
if ($tfa->verifyCode($row['secret'], $_data['token']) === true) {
if ($tfa->verifyCode($row['secret'], $_data['token']) === true) {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1877
$_SESSION['tfa_id'] = $row['id'];
$_SESSION['tfa_id'] = $row['id'];
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1878
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1879
'type' => 'success',
'type' => 'success',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1880
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1881
'msg' => 'verified_totp_login'
'msg' => 'verified_totp_login'
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1882
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1883
return true;
return true;
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1884
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1885
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1886
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1887
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1888
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1889
'msg' => 'totp_verification_failed'
'msg' => 'totp_verification_failed'
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1890
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1891
return false;
return false;
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1892
}
}
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1893
catch (PDOException $e) {
catch (PDOException $e) {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1894
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1895
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1896
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1897
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1898
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1899
return false;
return false;
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1900
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1901
break;
break;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1902
case "webauthn":
case "webauthn":
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1903
$tokenData = json_decode($_data['token']);
$tokenData = json_decode($_data['token']);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1904
$clientDataJSON = base64_decode($tokenData->clientDataJSON);
$clientDataJSON = base64_decode($tokenData->clientDataJSON);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1905
$authenticatorData = base64_decode($tokenData->authenticatorData);
$authenticatorData = base64_decode($tokenData->authenticatorData);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1906
$signature = base64_decode($tokenData->signature);
$signature = base64_decode($tokenData->signature);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1907
$id = base64_decode($tokenData->id);
$id = base64_decode($tokenData->id);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1908
$challenge = $_SESSION['challenge'];
$challenge = $_SESSION['challenge'];
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1909
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1910
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `keyHandle`, `username`, `publicKey` FROM `tfa` WHERE `id` = :id AND `active`='1'");
$stmt = $pdo->prepare("SELECT `id`, `key_id`, `keyHandle`, `username`, `publicKey` FROM `tfa` WHERE `id` = :id AND `active`='1'");
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1911
$stmt->execute(array(':id' => $_data['id']));
$stmt->execute(array(':id' => $_data['id']));
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1912
$process_webauthn = $stmt->fetch(PDO::FETCH_ASSOC);
$process_webauthn = $stmt->fetch(PDO::FETCH_ASSOC);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1913
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1914
if (empty($process_webauthn)){
if (empty($process_webauthn)){
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1915
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1916
'type' => 'danger',
'type' => 'danger',
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1917
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
FreddleSpl0it
over 3 years ago
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1918
'msg' => array('webauthn_authenticator_failed')
'msg' => array('webauthn_authenticator_failed')
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1919
);
);
same change
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1920
return false;
return false;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1921
}
}
same change
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 1922
FreddleSpl0it
over 4 years ago
5fcccbc
[Web] add verify selected tfa
- Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1923
if (empty($process_webauthn['publicKey']) || $process_webauthn['publicKey'] === false) {
if (empty($process_webauthn['publicKey']) || $process_webauthn['publicKey'] === false) {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1924
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1925
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1926
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
FreddleSpl0it
over 3 years ago
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1927
'msg' => array('webauthn_publickey_failed')
'msg' => array('webauthn_publickey_failed')
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1928
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1929
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1930
}
}
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1931
FreddleSpl0it
over 3 years ago
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1932
if ($process_webauthn['username'] != $_SESSION['pending_mailcow_cc_username']){
if ($process_webauthn['username'] != $_SESSION['pending_mailcow_cc_username']){
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1933
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1934
'type' => 'danger',
'type' => 'danger',
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1935
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1936
'msg' => array('webauthn_username_failed')
'msg' => array('webauthn_username_failed')
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1937
);
);
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1938
return false;
return false;
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1939
}
}
same change
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1940
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1941
try {
try {
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1942
$WebAuthn->processGet($clientDataJSON, $authenticatorData, $signature, $process_webauthn['publicKey'], $challenge, null, $GLOBALS['WEBAUTHN_UV_FLAG_LOGIN'], $GLOBALS['WEBAUTHN_USER_PRESENT_FLAG']);
$WebAuthn->processGet($clientDataJSON, $authenticatorData, $signature, $process_webauthn['publicKey'], $challenge, null, $GLOBALS['WEBAUTHN_UV_FLAG_LOGIN'], $GLOBALS['WEBAUTHN_USER_PRESENT_FLAG']);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1943
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1944
catch (Throwable $ex) {
catch (Throwable $ex) {
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1945
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1946
'type' => 'danger',
'type' => 'danger',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1947
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1948
'msg' => array('webauthn_verification_failed', $ex->getMessage())
'msg' => array('webauthn_verification_failed', $ex->getMessage())
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1949
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1950
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1951
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1952
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1953
$stmt = $pdo->prepare("SELECT `superadmin` FROM `admin` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `superadmin` FROM `admin` WHERE `username` = :username");
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1954
$stmt->execute(array(':username' => $process_webauthn['username']));
$stmt->execute(array(':username' => $process_webauthn['username']));
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1955
$obj_props = $stmt->fetch(PDO::FETCH_ASSOC);
$obj_props = $stmt->fetch(PDO::FETCH_ASSOC);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1956
if ($obj_props['superadmin'] === 1) {
if ($obj_props['superadmin'] === 1) {
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1957
$_SESSION["mailcow_cc_role"] = "admin";
$_SESSION["mailcow_cc_role"] = "admin";
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1958
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1959
elseif ($obj_props['superadmin'] === 0) {
elseif ($obj_props['superadmin'] === 0) {
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1960
$_SESSION["mailcow_cc_role"] = "domainadmin";
$_SESSION["mailcow_cc_role"] = "domainadmin";
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1961
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1962
else {
else {
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1963
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :username");
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :username");
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1964
$stmt->execute(array(':username' => $process_webauthn['username']));
$stmt->execute(array(':username' => $process_webauthn['username']));
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1965
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it
over 4 years ago
70921b8
[Web] tfa extra debugging
- Full commit hash
70921b8d154d365f13b50b91a68ae5cc484a79a9- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1966
if (!empty($row['username'])) {
if (!empty($row['username'])) {
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1967
$_SESSION["mailcow_cc_role"] = "user";
$_SESSION["mailcow_cc_role"] = "user";
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1968
} else {
} else {
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1969
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1970
'type' => 'danger',
'type' => 'danger',
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1971
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
FreddleSpl0it
over 3 years ago
e8fd34d
[Web] webauthn add lang strings
- Full commit hash
e8fd34d31f4551c7415b38a8a401e619a9fe24e4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1972
'msg' => array('webauthn_role_failed')
'msg' => array('webauthn_role_failed')
FreddleSpl0it
over 4 years ago
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1973
);
);
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1974
return false;
return false;
same change
b185f83
[Web] tfa extra debugging
- Full commit hash
b185f83fc3e38ae44d87161e4f9d229bcc8f4bec- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1975
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1976
}
}
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1977
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1978
$_SESSION["mailcow_cc_username"] = $process_webauthn['username'];
$_SESSION["mailcow_cc_username"] = $process_webauthn['username'];
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1979
$_SESSION['tfa_id'] = $process_webauthn['id'];
$_SESSION['tfa_id'] = $process_webauthn['id'];
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1980
$_SESSION['authReq'] = null;
$_SESSION['authReq'] = null;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1981
unset($_SESSION["challenge"]);
unset($_SESSION["challenge"]);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1982
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1983
'type' => 'success',
'type' => 'success',
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1984
'log' => array("webauthn_login"),
'log' => array("webauthn_login"),
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1985
'msg' => array('logged_in_as', $process_webauthn['username'])
'msg' => array('logged_in_as', $process_webauthn['username'])
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1986
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1987
return true;
return true;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1988
break;
break;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1989
default:
default:
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1990
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1991
'type' => 'danger',
'type' => 'danger',
andryyy
over 4 years ago
8769a91
[Web] Allow multiple TOTP
- Full commit hash
8769a91388dc242031dc1edce0731e638b54fe6b- Author
- andryyy <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1992
'log' => array(__FUNCTION__, $username, '*'),
'log' => array(__FUNCTION__, $username, '*'),
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1993
'msg' => 'unknown_tfa_method'
'msg' => 'unknown_tfa_method'
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1994
);
);
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1995
return false;
return false;
same change
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1996
break;
break;
andryyy
about 9 years ago
14a9a1c
A lot of changes... still not finished, use with caution.
- Full commit hash
14a9a1c616ae0a217cb53a3a86c9b84140bb0553- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1997
}
}
FreddlePat
over 4 years ago
d1d1340
migrating from u2f-api.js to webauthn
- Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11- Author
- FreddlePat <[email protected]>
- Date
- over 4 years ago
- Selected line
- 1998
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1999
return false;
return false;
FreddleSpl0it
over 4 years ago
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2000
} else {
} else {
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2001
// delete old keys that used u2f
// delete old keys that used u2f
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2002
$stmt = $pdo->prepare("SELECT * FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username");
$stmt = $pdo->prepare("SELECT * FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username");
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2003
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2004
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2005
if (count($rows) == 0) return false;
if (count($rows) == 0) return false;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2006
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2007
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username");
$stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `authmech` = 'u2f' AND `username` = :username");
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2008
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2009
return true;
return true;
same change
3ef2b6c
[Web] add verify selected tfa
- Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 2010
}
}
andryyy
over 9 years ago
badef73
Make alias domains selectable in sender acl, a lot of code changes, added challenges for u2f to json_api, added U2F as TFA
- Full commit hash
badef73191b114f716c8371fb66442f70dd40a3f- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 2011
}
}
andryyy
over 6 years ago
8f4540d
[Web] r/o API keys, Pushover integration (can be limited by ACL), other minor changes
- Full commit hash
8f4540d5d9f1c85fbb1c9697ccb9653f8744779d- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2012
function admin_api($access, $action, $data = null) {
function admin_api($access, $action, $data = null) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2013
global $pdo;
global $pdo;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2014
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2015
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2016
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2017
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2018
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2019
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2020
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2021
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2022
if ($access !== "ro" && $access !== "rw") {
if ($access !== "ro" && $access !== "rw") {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2023
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2024
'type' => 'danger',
'type' => 'danger',
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2025
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2026
'msg' => 'invalid access type'
'msg' => 'invalid access type'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2027
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2028
return false;
return false;
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2029
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2030
if ($action == "edit") {
if ($action == "edit") {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2031
$active = (!empty($data['active'])) ? 1 : 0;
$active = (!empty($data['active'])) ? 1 : 0;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2032
$skip_ip_check = (isset($data['skip_ip_check'])) ? 1 : 0;
$skip_ip_check = (isset($data['skip_ip_check'])) ? 1 : 0;
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2033
$allow_from = array();
$allow_from = array();
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2034
if (isset($data['allow_from'])) {
if (isset($data['allow_from'])) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2035
$allow_from = array_map('trim', preg_split( "/( |,|;|\n)/", $data['allow_from']));
$allow_from = array_map('trim', preg_split( "/( |,|;|\n)/", $data['allow_from']));
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2036
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2037
foreach ($allow_from as $key => $val) {
foreach ($allow_from as $key => $val) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2038
if (empty($val)) {
if (empty($val)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2039
unset($allow_from[$key]);
unset($allow_from[$key]);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2040
continue;
continue;
andryyy
over 6 years ago
8f4540d
[Web] r/o API keys, Pushover integration (can be limited by ACL), other minor changes
- Full commit hash
8f4540d5d9f1c85fbb1c9697ccb9653f8744779d- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2041
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2042
if (valid_network($val) !== true) {
if (valid_network($val) !== true) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2043
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2044
'type' => 'warning',
'type' => 'warning',
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2045
'log' => array(__FUNCTION__, $data),
'log' => array(__FUNCTION__, $data),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2046
'msg' => array('ip_invalid', htmlspecialchars($allow_from[$key]))
'msg' => array('ip_invalid', htmlspecialchars($allow_from[$key]))
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2047
);
);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2048
unset($allow_from[$key]);
unset($allow_from[$key]);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2049
continue;
continue;
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2050
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2051
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2052
$allow_from = implode(',', array_unique(array_filter($allow_from)));
$allow_from = implode(',', array_unique(array_filter($allow_from)));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2053
if (empty($allow_from) && $skip_ip_check == 0) {
if (empty($allow_from) && $skip_ip_check == 0) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2054
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2055
'type' => 'danger',
'type' => 'danger',
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2056
'log' => array(__FUNCTION__, $data),
'log' => array(__FUNCTION__, $data),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2057
'msg' => 'ip_list_empty'
'msg' => 'ip_list_empty'
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2058
);
);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2059
return false;
return false;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2060
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2061
$api_key = implode('-', array(
$api_key = implode('-', array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2062
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2063
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2064
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2065
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2066
strtoupper(bin2hex(random_bytes(3)))
strtoupper(bin2hex(random_bytes(3)))
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2067
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2068
$stmt = $pdo->query("SELECT `api_key` FROM `api` WHERE `access` = '" . $access . "'");
$stmt = $pdo->query("SELECT `api_key` FROM `api` WHERE `access` = '" . $access . "'");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2069
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2070
if (empty($num_results)) {
if (empty($num_results)) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2071
$stmt = $pdo->prepare("INSERT INTO `api` (`api_key`, `skip_ip_check`, `active`, `allow_from`, `access`)
$stmt = $pdo->prepare("INSERT INTO `api` (`api_key`, `skip_ip_check`, `active`, `allow_from`, `access`)
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2072
VALUES (:api_key, :skip_ip_check, :active, :allow_from, :access);");
VALUES (:api_key, :skip_ip_check, :active, :allow_from, :access);");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2073
$stmt->execute(array(
$stmt->execute(array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2074
':api_key' => $api_key,
':api_key' => $api_key,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2075
':skip_ip_check' => $skip_ip_check,
':skip_ip_check' => $skip_ip_check,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2076
':active' => $active,
':active' => $active,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2077
':allow_from' => $allow_from,
':allow_from' => $allow_from,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2078
':access' => $access
':access' => $access
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2079
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2080
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2081
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2082
if ($skip_ip_check == 0) {
if ($skip_ip_check == 0) {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2083
$stmt = $pdo->prepare("UPDATE `api` SET `skip_ip_check` = :skip_ip_check,
$stmt = $pdo->prepare("UPDATE `api` SET `skip_ip_check` = :skip_ip_check,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2084
`active` = :active,
`active` = :active,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2085
`allow_from` = :allow_from
`allow_from` = :allow_from
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2086
WHERE `access` = :access;");
WHERE `access` = :access;");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2087
$stmt->execute(array(
$stmt->execute(array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2088
':active' => $active,
':active' => $active,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2089
':skip_ip_check' => $skip_ip_check,
':skip_ip_check' => $skip_ip_check,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2090
':allow_from' => $allow_from,
':allow_from' => $allow_from,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2091
':access' => $access
':access' => $access
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2092
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2093
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2094
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2095
$stmt = $pdo->prepare("UPDATE `api` SET `skip_ip_check` = :skip_ip_check,
$stmt = $pdo->prepare("UPDATE `api` SET `skip_ip_check` = :skip_ip_check,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2096
`active` = :active
`active` = :active
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2097
WHERE `access` = :access;");
WHERE `access` = :access;");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2098
$stmt->execute(array(
$stmt->execute(array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2099
':active' => $active,
':active' => $active,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2100
':skip_ip_check' => $skip_ip_check,
':skip_ip_check' => $skip_ip_check,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2101
':access' => $access
':access' => $access
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2102
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2103
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2104
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2105
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2106
elseif ($action == "regen_key") {
elseif ($action == "regen_key") {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2107
$api_key = implode('-', array(
$api_key = implode('-', array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2108
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2109
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2110
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2111
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2112
strtoupper(bin2hex(random_bytes(3)))
strtoupper(bin2hex(random_bytes(3)))
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2113
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2114
$stmt = $pdo->prepare("UPDATE `api` SET `api_key` = :api_key WHERE `access` = :access");
$stmt = $pdo->prepare("UPDATE `api` SET `api_key` = :api_key WHERE `access` = :access");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2115
$stmt->execute(array(
$stmt->execute(array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2116
':api_key' => $api_key,
':api_key' => $api_key,
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2117
':access' => $access
':access' => $access
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2118
));
));
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2119
}
}
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2120
elseif ($action == "get") {
elseif ($action == "get") {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2121
$stmt = $pdo->query("SELECT * FROM `api` WHERE `access` = '" . $access . "'");
$stmt = $pdo->query("SELECT * FROM `api` WHERE `access` = '" . $access . "'");
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2122
$apidata = $stmt->fetch(PDO::FETCH_ASSOC);
$apidata = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2123
if ($apidata !== false) {
if ($apidata !== false) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2124
$apidata['allow_from'] = str_replace(',', PHP_EOL, $apidata['allow_from']);
$apidata['allow_from'] = str_replace(',', PHP_EOL, $apidata['allow_from']);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2125
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 2126
return $apidata;
return $apidata;
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2127
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2128
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2129
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2130
'log' => array(__FUNCTION__, $data),
'log' => array(__FUNCTION__, $data),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2131
'msg' => 'admin_api_modified'
'msg' => 'admin_api_modified'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2132
);
);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2133
}
}
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2134
function license($action, $data = null) {
function license($action, $data = null) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2135
global $pdo;
global $pdo;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2136
global $redis;
global $redis;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2137
global $lang;
global $lang;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2138
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2139
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2140
'type' => 'danger',
'type' => 'danger',
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2141
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2142
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2143
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2144
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2145
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2146
switch ($action) {
switch ($action) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2147
case "verify":
case "verify":
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2148
// Keep result until revalidate button is pressed or session expired
// Keep result until revalidate button is pressed or session expired
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2149
$stmt = $pdo->query("SELECT `version` FROM `versions` WHERE `application` = 'GUID'");
$stmt = $pdo->query("SELECT `version` FROM `versions` WHERE `application` = 'GUID'");
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2150
$versions = $stmt->fetch(PDO::FETCH_ASSOC);
$versions = $stmt->fetch(PDO::FETCH_ASSOC);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2151
$post = array('guid' => $versions['version']);
$post = array('guid' => $versions['version']);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2152
$curl = curl_init('https://verify.mailcow.email');
$curl = curl_init('https://verify.mailcow.email');
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2153
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2154
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2155
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2156
$response = curl_exec($curl);
$response = curl_exec($curl);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2157
curl_close($curl);
curl_close($curl);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2158
$json_return = json_decode($response, true);
$json_return = json_decode($response, true);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2159
if ($response && $json_return) {
if ($response && $json_return) {
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2160
if ($json_return['response'] === "ok") {
if ($json_return['response'] === "ok") {
andryyy
almost 7 years ago
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2161
$_SESSION['gal']['valid'] = "true";
$_SESSION['gal']['valid'] = "true";
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2162
$_SESSION['gal']['c'] = $json_return['c'];
$_SESSION['gal']['c'] = $json_return['c'];
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2163
$_SESSION['gal']['s'] = $json_return['s'];
$_SESSION['gal']['s'] = $json_return['s'];
andryyy
over 6 years ago
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2164
if ($json_return['m'] == 'NoMoore') {
if ($json_return['m'] == 'NoMoore') {
same change
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2165
$_SESSION['gal']['m'] = '🐄';
$_SESSION['gal']['m'] = '🐄';
same change
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2166
}
}
same change
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2167
else {
else {
same change
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2168
$_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o'));
$_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o'));
same change
b124225
[Web] Fix cow level, sorry :(
- Full commit hash
b1242259e7fbb3b80f69f85ffb52f13a070c2f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2169
}
}
andryyy
over 6 years ago
653c058
[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)
- Full commit hash
653c058e33039c174d5cc73b7162101c5158d150- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2170
}
}
andryyy
almost 7 years ago
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2171
elseif ($json_return['response'] === "invalid") {
elseif ($json_return['response'] === "invalid") {
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2172
$_SESSION['gal']['valid'] = "false";
$_SESSION['gal']['valid'] = "false";
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2173
$_SESSION['gal']['c'] = $lang['mailbox']['no'];
$_SESSION['gal']['c'] = $lang['mailbox']['no'];
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2174
$_SESSION['gal']['s'] = $lang['mailbox']['no'];
$_SESSION['gal']['s'] = $lang['mailbox']['no'];
andryyy
over 6 years ago
653c058
[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)
- Full commit hash
653c058e33039c174d5cc73b7162101c5158d150- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2175
$_SESSION['gal']['m'] = $lang['mailbox']['no'];
$_SESSION['gal']['m'] = $lang['mailbox']['no'];
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2176
}
}
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2177
}
}
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2178
else {
else {
andryyy
almost 7 years ago
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2179
$_SESSION['gal']['valid'] = "false";
$_SESSION['gal']['valid'] = "false";
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2180
$_SESSION['gal']['c'] = $lang['danger']['temp_error'];
$_SESSION['gal']['c'] = $lang['danger']['temp_error'];
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2181
$_SESSION['gal']['s'] = $lang['danger']['temp_error'];
$_SESSION['gal']['s'] = $lang['danger']['temp_error'];
andryyy
over 6 years ago
653c058
[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)
- Full commit hash
653c058e33039c174d5cc73b7162101c5158d150- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2182
$_SESSION['gal']['m'] = $lang['danger']['temp_error'];
$_SESSION['gal']['m'] = $lang['danger']['temp_error'];
andryyy
almost 7 years ago
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2183
}
}
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2184
try {
try {
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2185
// json_encode needs "true"/"false" instead of true/false, to not encode it to 0 or 1
// json_encode needs "true"/"false" instead of true/false, to not encode it to 0 or 1
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2186
$redis->Set('LICENSE_STATUS_CACHE', json_encode($_SESSION['gal']));
$redis->Set('LICENSE_STATUS_CACHE', json_encode($_SESSION['gal']));
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2187
}
}
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2188
catch (RedisException $e) {
catch (RedisException $e) {
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2189
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2190
'type' => 'danger',
'type' => 'danger',
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2191
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2192
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2193
);
);
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2194
return false;
return false;
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2195
}
}
andryyy
almost 7 years ago
294e0bc
[Web] Cache validation result in Redis
- Full commit hash
294e0bc07f641ce4237c211cd79a14299b5c6cc5- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2196
return $_SESSION['gal']['valid'];
return $_SESSION['gal']['valid'];
andryyy
almost 7 years ago
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2197
break;
break;
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2198
case "guid":
case "guid":
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2199
$stmt = $pdo->query("SELECT `version` FROM `versions` WHERE `application` = 'GUID'");
$stmt = $pdo->query("SELECT `version` FROM `versions` WHERE `application` = 'GUID'");
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2200
$versions = $stmt->fetch(PDO::FETCH_ASSOC);
$versions = $stmt->fetch(PDO::FETCH_ASSOC);
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2201
return $versions['version'];
return $versions['version'];
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2202
break;
break;
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2203
}
}
same change
9a500a7
[Web] Verify OPTIONAL license plus minor fixes
- Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 2204
}
}
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2205
function rspamd_ui($action, $data = null) {
function rspamd_ui($action, $data = null) {
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2206
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2207
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2208
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2209
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2210
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2211
);
);
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2212
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2213
}
}
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2214
switch ($action) {
switch ($action) {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2215
case "edit":
case "edit":
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2216
$rspamd_ui_pass = $data['rspamd_ui_pass'];
$rspamd_ui_pass = $data['rspamd_ui_pass'];
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2217
$rspamd_ui_pass2 = $data['rspamd_ui_pass2'];
$rspamd_ui_pass2 = $data['rspamd_ui_pass2'];
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2218
if (empty($rspamd_ui_pass) || empty($rspamd_ui_pass2)) {
if (empty($rspamd_ui_pass) || empty($rspamd_ui_pass2)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2219
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2220
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2221
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2222
'msg' => 'password_empty'
'msg' => 'password_empty'
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2223
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2224
return false;
return false;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2225
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2226
if ($rspamd_ui_pass != $rspamd_ui_pass2) {
if ($rspamd_ui_pass != $rspamd_ui_pass2) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2227
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2228
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2229
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2230
'msg' => 'password_mismatch'
'msg' => 'password_mismatch'
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2231
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2232
return false;
return false;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2233
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2234
if (strlen($rspamd_ui_pass) < 6) {
if (strlen($rspamd_ui_pass) < 6) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2235
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2236
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2237
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2238
'msg' => 'rspamd_ui_pw_length'
'msg' => 'rspamd_ui_pw_length'
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2239
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2240
return false;
return false;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2241
}
}
André
over 7 years ago
e30dfd6
[Web] Queue manager for Postfix
- Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2- Author
- André <[email protected]>
- Date
- over 7 years ago
- Selected line
- 2242
$docker_return = docker('post', 'rspamd-mailcow', 'exec', array('cmd' => 'rspamd', 'task' => 'worker_password', 'raw' => $rspamd_ui_pass), array('Content-Type: application/json'));
$docker_return = docker('post', 'rspamd-mailcow', 'exec', array('cmd' => 'rspamd', 'task' => 'worker_password', 'raw' => $rspamd_ui_pass), array('Content-Type: application/json'));
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2243
if ($docker_return_array = json_decode($docker_return, true)) {
if ($docker_return_array = json_decode($docker_return, true)) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2244
if ($docker_return_array['type'] == 'success') {
if ($docker_return_array['type'] == 'success') {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2245
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2246
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2247
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2248
'msg' => 'rspamd_ui_pw_set'
'msg' => 'rspamd_ui_pw_set'
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2249
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2250
return true;
return true;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2251
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2252
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2253
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2254
'type' => $docker_return_array['type'],
'type' => $docker_return_array['type'],
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2255
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2256
'msg' => $docker_return_array['msg']
'msg' => $docker_return_array['msg']
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2257
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2258
return false;
return false;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2259
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2260
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2261
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2262
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2263
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2264
'log' => array(__FUNCTION__, '*', '*'),
'log' => array(__FUNCTION__, '*', '*'),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2265
'msg' => 'unknown'
'msg' => 'unknown'
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2266
);
);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2267
return false;
return false;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2268
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2269
break;
break;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2270
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2271
}
}
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2272
function cors($action, $data = null) {
function cors($action, $data = null) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2273
global $redis;
global $redis;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2274
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2275
switch ($action) {
switch ($action) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2276
case "edit":
case "edit":
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2277
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2278
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2279
'type' => 'danger',
'type' => 'danger',
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2280
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2281
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2282
);
);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2283
return false;
return false;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2284
}
}
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2285
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2286
$allowed_origins = isset($data['allowed_origins']) ? $data['allowed_origins'] : array($_SERVER['SERVER_NAME']);
$allowed_origins = isset($data['allowed_origins']) ? $data['allowed_origins'] : array($_SERVER['SERVER_NAME']);
FreddleSpl0it
about 3 years ago
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2287
$allowed_origins = !is_array($allowed_origins) ? array_filter(array_map('trim', explode("\n", $allowed_origins))) : $allowed_origins;
$allowed_origins = !is_array($allowed_origins) ? array_filter(array_map('trim', explode("\n", $allowed_origins))) : $allowed_origins;
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2288
foreach ($allowed_origins as $origin) {
foreach ($allowed_origins as $origin) {
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2289
if (!filter_var($origin, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) && $origin != '*') {
if (!filter_var($origin, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) && $origin != '*') {
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2290
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2291
'type' => 'danger',
'type' => 'danger',
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2292
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2293
'msg' => 'cors_invalid_origin'
'msg' => 'cors_invalid_origin'
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2294
);
);
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2295
return false;
return false;
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2296
}
}
same change
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2297
}
}
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2298
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2299
$allowed_methods = isset($data['allowed_methods']) ? $data['allowed_methods'] : array('GET', 'POST', 'PUT', 'DELETE');
$allowed_methods = isset($data['allowed_methods']) ? $data['allowed_methods'] : array('GET', 'POST', 'PUT', 'DELETE');
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2300
$allowed_methods = !is_array($allowed_methods) ? array_map('trim', preg_split( "/( |,|;|\n)/", $allowed_methods)) : $allowed_methods;
$allowed_methods = !is_array($allowed_methods) ? array_map('trim', preg_split( "/( |,|;|\n)/", $allowed_methods)) : $allowed_methods;
FreddleSpl0it
about 3 years ago
6b82284
[Web] cors - add check if origin is valid
- Full commit hash
6b82284a419a4452acb1d66c0b92b69672851d4c- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2301
$available_methods = array('GET', 'POST', 'PUT', 'DELETE');
$available_methods = array('GET', 'POST', 'PUT', 'DELETE');
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2302
foreach ($allowed_methods as $method) {
foreach ($allowed_methods as $method) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2303
if (!in_array($method, $available_methods)) {
if (!in_array($method, $available_methods)) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2304
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2305
'type' => 'danger',
'type' => 'danger',
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2306
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2307
'msg' => 'cors_invalid_method'
'msg' => 'cors_invalid_method'
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2308
);
);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2309
return false;
return false;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2310
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2311
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2312
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2313
try {
try {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2314
$redis->hMSet('CORS_SETTINGS', array(
$redis->hMSet('CORS_SETTINGS', array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2315
'allowed_origins' => implode(', ', $allowed_origins),
'allowed_origins' => implode(', ', $allowed_origins),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2316
'allowed_methods' => implode(', ', $allowed_methods)
'allowed_methods' => implode(', ', $allowed_methods)
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2317
));
));
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2318
} catch (RedisException $e) {
} catch (RedisException $e) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2319
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2320
'type' => 'danger',
'type' => 'danger',
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2321
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2322
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2323
);
);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2324
return false;
return false;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2325
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2326
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2327
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2328
'type' => 'success',
'type' => 'success',
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2329
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2330
'msg' => 'cors_headers_edited'
'msg' => 'cors_headers_edited'
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2331
);
);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2332
return true;
return true;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2333
break;
break;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2334
case "get":
case "get":
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2335
try {
try {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2336
$cors_settings = $redis->hMGet('CORS_SETTINGS', array('allowed_origins', 'allowed_methods'));
$cors_settings = $redis->hMGet('CORS_SETTINGS', array('allowed_origins', 'allowed_methods'));
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2337
} catch (RedisException $e) {
} catch (RedisException $e) {
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2338
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2339
'type' => 'danger',
'type' => 'danger',
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2340
'log' => array(__FUNCTION__, $action, $data),
'log' => array(__FUNCTION__, $action, $data),
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2341
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2342
);
);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2343
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2344
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2345
$cors_settings = !$cors_settings ? array('allowed_origins' => $_SERVER['SERVER_NAME'], 'allowed_methods' => 'GET, POST, PUT, DELETE') : $cors_settings;
$cors_settings = !$cors_settings ? array('allowed_origins' => $_SERVER['SERVER_NAME'], 'allowed_methods' => 'GET, POST, PUT, DELETE') : $cors_settings;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2346
$cors_settings['allowed_origins'] = empty($cors_settings['allowed_origins']) ? $_SERVER['SERVER_NAME'] : $cors_settings['allowed_origins'];
$cors_settings['allowed_origins'] = empty($cors_settings['allowed_origins']) ? $_SERVER['SERVER_NAME'] : $cors_settings['allowed_origins'];
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2347
$cors_settings['allowed_methods'] = empty($cors_settings['allowed_methods']) ? 'GET, POST, PUT, DELETE, OPTION' : $cors_settings['allowed_methods'];
$cors_settings['allowed_methods'] = empty($cors_settings['allowed_methods']) ? 'GET, POST, PUT, DELETE, OPTION' : $cors_settings['allowed_methods'];
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2348
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2349
return $cors_settings;
return $cors_settings;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2350
break;
break;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2351
case "set_headers":
case "set_headers":
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2352
$cors_settings = cors('get');
$cors_settings = cors('get');
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2353
// check if requested origin is in allowed origins
// check if requested origin is in allowed origins
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2354
$allowed_origins = explode(', ', $cors_settings['allowed_origins']);
$allowed_origins = explode(', ', $cors_settings['allowed_origins']);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2355
$cors_settings['allowed_origins'] = $allowed_origins[0];
$cors_settings['allowed_origins'] = $allowed_origins[0];
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2356
if (in_array('*', $allowed_origins)){
if (in_array('*', $allowed_origins)){
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2357
$cors_settings['allowed_origins'] = '*';
$cors_settings['allowed_origins'] = '*';
Paul Sütterlin
12 months ago
6b8e981
fix: Only use HTTP_ORIGIN if it is sent.
- Full commit hash
6b8e981bdc4e647c9c39638c259d4ff7b1945e2d- Author
- Paul Sütterlin <[email protected]>
- Date
- 12 months ago
- Selected line
- 2358
} else if (array_key_exists('HTTP_ORIGIN', $_SERVER) && in_array($_SERVER['HTTP_ORIGIN'], $allowed_origins)) {
} else if (array_key_exists('HTTP_ORIGIN', $_SERVER) && in_array($_SERVER['HTTP_ORIGIN'], $allowed_origins)) {
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2359
$cors_settings['allowed_origins'] = $_SERVER['HTTP_ORIGIN'];
$cors_settings['allowed_origins'] = $_SERVER['HTTP_ORIGIN'];
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2360
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2361
// always allow OPTIONS for preflight request
// always allow OPTIONS for preflight request
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2362
$cors_settings["allowed_methods"] = empty($cors_settings["allowed_methods"]) ? 'OPTIONS' : $cors_settings["allowed_methods"] . ', ' . 'OPTIONS';
$cors_settings["allowed_methods"] = empty($cors_settings["allowed_methods"]) ? 'OPTIONS' : $cors_settings["allowed_methods"] . ', ' . 'OPTIONS';
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2363
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2364
header('Access-Control-Allow-Origin: ' . $cors_settings['allowed_origins']);
header('Access-Control-Allow-Origin: ' . $cors_settings['allowed_origins']);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2365
header('Access-Control-Allow-Methods: '. $cors_settings['allowed_methods']);
header('Access-Control-Allow-Methods: '. $cors_settings['allowed_methods']);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2366
header('Access-Control-Allow-Headers: Accept, Content-Type, X-Api-Key, Origin');
header('Access-Control-Allow-Headers: Accept, Content-Type, X-Api-Key, Origin');
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2367
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2368
// Access-Control settings requested, this is just a preflight request
// Access-Control settings requested, this is just a preflight request
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2369
if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS' &&
if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS' &&
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2370
isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD']) &&
isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD']) &&
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2371
isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) {
isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) {
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2372
FreddleSpl0it
about 3 years ago
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2373
$allowed_methods = explode(', ', $cors_settings["allowed_methods"]);
$allowed_methods = explode(', ', $cors_settings["allowed_methods"]);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2374
if (in_array($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD'], $allowed_methods, true))
if (in_array($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD'], $allowed_methods, true))
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2375
// method allowed send 200 OK
// method allowed send 200 OK
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2376
http_response_code(200);
http_response_code(200);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2377
else
else
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2378
// method not allowed send 405 METHOD NOT ALLOWED
// method not allowed send 405 METHOD NOT ALLOWED
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2379
http_response_code(405);
http_response_code(405);
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2380
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2381
exit;
exit;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2382
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2383
break;
break;
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2384
}
}
same change
192f67c
[Web] add cors to json_api
- Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2385
}
}
FreddleSpl0it
over 1 year ago
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2386
function getBaseURL($protocol = null) {
function getBaseURL($protocol = null) {
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2387
// Get current server name
// Get current server name
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2388
$host = strtolower($_SERVER['SERVER_NAME']);
$host = strtolower($_SERVER['SERVER_NAME']);
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2389
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2390
// craft allowed server name list
// craft allowed server name list
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2391
$mailcow_hostname = strtolower(getenv("MAILCOW_HOSTNAME"));
$mailcow_hostname = strtolower(getenv("MAILCOW_HOSTNAME"));
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2392
$additional_server_names = strtolower(getenv("ADDITIONAL_SERVER_NAMES")) ?: "";
$additional_server_names = strtolower(getenv("ADDITIONAL_SERVER_NAMES")) ?: "";
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2393
$additional_server_names = preg_replace('/\s+/', '', $additional_server_names);
$additional_server_names = preg_replace('/\s+/', '', $additional_server_names);
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2394
$allowed_server_names = $additional_server_names !== "" ? explode(',', $additional_server_names) : array();
$allowed_server_names = $additional_server_names !== "" ? explode(',', $additional_server_names) : array();
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2395
array_push($allowed_server_names, $mailcow_hostname);
array_push($allowed_server_names, $mailcow_hostname);
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2396
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2397
// Fallback to MAILCOW HOSTNAME if current server name is not in allowed list
// Fallback to MAILCOW HOSTNAME if current server name is not in allowed list
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2398
if (!in_array($host, $allowed_server_names)) {
if (!in_array($host, $allowed_server_names)) {
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2399
$host = $mailcow_hostname;
$host = $mailcow_hostname;
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2400
}
}
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2401
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2402
if (!isset($protocol)) {
if (!isset($protocol)) {
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2403
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
same change
a2e87e0
[Web] Add validation for server_name against allow list
- Full commit hash
a2e87e0880e8a882cffd47d50d17cd26e3e8846d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2404
}
}
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2405
$base_url = $protocol . '://' . $host;
$base_url = $protocol . '://' . $host;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2406
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2407
return $base_url;
return $base_url;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2408
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2409
function uuid4() {
function uuid4() {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2410
$data = openssl_random_pseudo_bytes(16);
$data = openssl_random_pseudo_bytes(16);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2411
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2412
$data[6] = chr(ord($data[6]) & 0x0f | 0x40);
$data[6] = chr(ord($data[6]) & 0x0f | 0x40);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2413
$data[8] = chr(ord($data[8]) & 0x3f | 0x80);
$data[8] = chr(ord($data[8]) & 0x3f | 0x80);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2414
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2415
return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($data), 4));
return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($data), 4));
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2416
}
}
FreddleSpl0it
over 2 years ago
ffbf175
[Web] fix identity_provider ArgumentCountError
- Full commit hash
ffbf1758e0a8e49d3b030b6edba67ac4d3eb8a61- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2417
function identity_provider($_action = null, $_data = null, $_extra = null) {
function identity_provider($_action = null, $_data = null, $_extra = null) {
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2418
global $pdo;
global $pdo;
FreddleSpl0it
over 2 years ago
d237157
init identity_provider only after all conditions are met
- Full commit hash
d237157c0b743434ce213d895a130e02a0b06b3e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2419
global $iam_provider;
global $iam_provider;
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2420
global $iam_settings;
global $iam_settings;
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2421
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2422
$data_log = $_data;
$data_log = $_data;
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2423
if (isset($data_log['client_secret'])) $data_log['client_secret'] = '*';
if (isset($data_log['client_secret'])) $data_log['client_secret'] = '*';
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2424
if (isset($data_log['access_token'])) $data_log['access_token'] = '*';
if (isset($data_log['access_token'])) $data_log['access_token'] = '*';
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2425
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2426
switch ($_action) {
switch ($_action) {
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2427
case 'get':
case 'get':
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2428
$settings = array();
$settings = array();
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2429
$stmt = $pdo->prepare("SELECT * FROM `identity_provider`;");
$stmt = $pdo->prepare("SELECT * FROM `identity_provider`;");
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2430
$stmt->execute();
$stmt->execute();
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2431
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2432
foreach($rows as $row){
foreach($rows as $row){
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2433
switch ($row["key"]) {
switch ($row["key"]) {
PseudoResonance
over 1 year ago
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2434
case "redirect_url_extra":
case "redirect_url_extra":
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2435
case "mappers":
case "mappers":
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2436
case "templates":
case "templates":
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2437
$settings[$row["key"]] = json_decode($row["value"]);
$settings[$row["key"]] = json_decode($row["value"]);
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2438
break;
break;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2439
case "use_ssl":
case "use_ssl":
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2440
case "use_tls":
case "use_tls":
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2441
case "login_provisioning":
case "login_provisioning":
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2442
case "ignore_ssl_errors":
case "ignore_ssl_errors":
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2443
$settings[$row["key"]] = boolval($row["value"]);
$settings[$row["key"]] = boolval($row["value"]);
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2444
break;
break;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2445
default:
default:
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2446
$settings[$row["key"]] = $row["value"];
$settings[$row["key"]] = $row["value"];
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2447
break;
break;
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2448
}
}
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2449
}
}
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2450
// set login_provisioning if not exists
// set login_provisioning if not exists
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2451
if (!array_key_exists('login_provisioning', $settings)) {
if (!array_key_exists('login_provisioning', $settings)) {
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2452
$settings['login_provisioning'] = 1;
$settings['login_provisioning'] = 1;
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2453
}
}
FreddleSpl0it
almost 3 years ago
eb9e3b8
[Web] add configurable client scopes for generic-oidc
- Full commit hash
eb9e3b8391a5d8f24e92ba9b5d00b1093e162747- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2454
// return default client_scopes for generic-oidc if none is set
// return default client_scopes for generic-oidc if none is set
same change
eb9e3b8
[Web] add configurable client scopes for generic-oidc
- Full commit hash
eb9e3b8391a5d8f24e92ba9b5d00b1093e162747- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2455
if ($settings["authsource"] == "generic-oidc" && empty($settings["client_scopes"])){
if ($settings["authsource"] == "generic-oidc" && empty($settings["client_scopes"])){
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2456
$settings["client_scopes"] = "openid profile email mailcow_template";
$settings["client_scopes"] = "openid profile email mailcow_template";
FreddleSpl0it
almost 3 years ago
eb9e3b8
[Web] add configurable client scopes for generic-oidc
- Full commit hash
eb9e3b8391a5d8f24e92ba9b5d00b1093e162747- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2457
}
}
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2458
if ($_extra['hide_sensitive']){
if ($_extra['hide_sensitive']){
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2459
$settings['client_secret'] = '';
$settings['client_secret'] = '';
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2460
$settings['access_token'] = '';
$settings['access_token'] = '';
FreddleSpl0it
over 3 years ago
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2461
}
}
FreddleSpl0it
over 2 years ago
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2462
// return default ldap options
// return default ldap options
same change
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2463
if ($settings["authsource"] == "ldap"){
if ($settings["authsource"] == "ldap"){
same change
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2464
$settings['use_ssl'] = !isset($settings['use_ssl']) ? false : $settings['use_ssl'];
$settings['use_ssl'] = !isset($settings['use_ssl']) ? false : $settings['use_ssl'];
same change
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2465
$settings['use_tls'] = !isset($settings['use_tls']) ? false : $settings['use_tls'];
$settings['use_tls'] = !isset($settings['use_tls']) ? false : $settings['use_tls'];
same change
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2466
$settings['ignore_ssl_errors'] = !isset($settings['ignore_ssl_errors']) ? false : $settings['ignore_ssl_errors'];
$settings['ignore_ssl_errors'] = !isset($settings['ignore_ssl_errors']) ? false : $settings['ignore_ssl_errors'];
same change
0807c12
[Web] set default LDAP options on get
- Full commit hash
0807c122f659f074b8376313d9ab9c4bed6fba06- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2467
}
}
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2468
return $settings;
return $settings;
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2469
break;
break;
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2470
case 'edit':
case 'edit':
FreddleSpl0it
over 3 years ago
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2471
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2472
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2473
'type' => 'danger',
'type' => 'danger',
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2474
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2475
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2476
);
);
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2477
return false;
return false;
same change
0a77cad
[Web] limit identity_provider function better
- Full commit hash
0a77cad2dd7285b3cde1d5b382870e4e9fc1c21b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2478
}
}
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2479
if (!isset($_data['authsource'])){
if (!isset($_data['authsource'])){
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2480
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2481
'type' => 'danger',
'type' => 'danger',
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2482
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2483
'msg' => array('required_data_missing', '')
'msg' => array('required_data_missing', '')
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2484
);
);
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2485
return false;
return false;
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2486
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2487
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2488
$available_authsources = array(
$available_authsources = array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2489
"keycloak",
"keycloak",
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2490
"generic-oidc",
"generic-oidc",
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2491
"ldap"
"ldap"
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2492
);
);
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2493
$_data['authsource'] = strtolower($_data['authsource']);
$_data['authsource'] = strtolower($_data['authsource']);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2494
if (!in_array($_data['authsource'], $available_authsources)){
if (!in_array($_data['authsource'], $available_authsources)){
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2495
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2496
'type' => 'danger',
'type' => 'danger',
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2497
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2498
'msg' => array('invalid_authsource', $setting)
'msg' => array('invalid_authsource', $setting)
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2499
);
);
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2500
return false;
return false;
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2501
}
}
FreddleSpl0it
over 3 years ago
f0689e0
[Web] iam - add switch for direct login flow
- Full commit hash
f0689e08d96f29c6e2161b1677c398187330c3b1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2502
FreddleSpl0it
almost 3 years ago
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2503
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2504
WHERE `authsource` != 'mailcow'
WHERE `authsource` != 'mailcow'
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2505
AND `authsource` IS NOT NULL
AND `authsource` IS NOT NULL
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2506
AND `authsource` != :authsource");
AND `authsource` != :authsource");
FreddleSpl0it
almost 3 years ago
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2507
$stmt->execute(array(':authsource' => $_data['authsource']));
$stmt->execute(array(':authsource' => $_data['authsource']));
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2508
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2509
if ($rows) {
if ($rows) {
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2510
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2511
'type' => 'danger',
'type' => 'danger',
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2512
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2513
'msg' => array('authsource_in_use', $setting)
'msg' => array('authsource_in_use', $setting)
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2514
);
);
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2515
return false;
return false;
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2516
}
}
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2517
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2518
$_data['ignore_ssl_error'] = isset($_data['ignore_ssl_error']) ? boolval($_data['ignore_ssl_error']) : false;
$_data['ignore_ssl_error'] = isset($_data['ignore_ssl_error']) ? boolval($_data['ignore_ssl_error']) : false;
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2519
$_data['login_provisioning'] = isset($_data['login_provisioning']) ? boolval($_data['login_provisioning']) : false;
$_data['login_provisioning'] = isset($_data['login_provisioning']) ? boolval($_data['login_provisioning']) : false;
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2520
switch ($_data['authsource']) {
switch ($_data['authsource']) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2521
case "keycloak":
case "keycloak":
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2522
$_data['server_url'] = (!empty($_data['server_url'])) ? rtrim($_data['server_url'], '/') : null;
$_data['server_url'] = (!empty($_data['server_url'])) ? rtrim($_data['server_url'], '/') : null;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2523
$_data['mailpassword_flow'] = isset($_data['mailpassword_flow']) ? intval($_data['mailpassword_flow']) : 0;
$_data['mailpassword_flow'] = isset($_data['mailpassword_flow']) ? intval($_data['mailpassword_flow']) : 0;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2524
$_data['periodic_sync'] = isset($_data['periodic_sync']) ? intval($_data['periodic_sync']) : 0;
$_data['periodic_sync'] = isset($_data['periodic_sync']) ? intval($_data['periodic_sync']) : 0;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2525
$_data['import_users'] = isset($_data['import_users']) ? intval($_data['import_users']) : 0;
$_data['import_users'] = isset($_data['import_users']) ? intval($_data['import_users']) : 0;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2526
$_data['sync_interval'] = (!empty($_data['sync_interval'])) ? intval($_data['sync_interval']) : 15;
$_data['sync_interval'] = (!empty($_data['sync_interval'])) ? intval($_data['sync_interval']) : 15;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2527
$_data['sync_interval'] = $_data['sync_interval'] < 1 ? 1 : $_data['sync_interval'];
$_data['sync_interval'] = $_data['sync_interval'] < 1 ? 1 : $_data['sync_interval'];
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2528
$required_settings = array('authsource', 'server_url', 'realm', 'client_id', 'client_secret', 'redirect_url', 'version', 'mailpassword_flow', 'periodic_sync', 'import_users', 'sync_interval', 'ignore_ssl_error', 'login_provisioning');
$required_settings = array('authsource', 'server_url', 'realm', 'client_id', 'client_secret', 'redirect_url', 'version', 'mailpassword_flow', 'periodic_sync', 'import_users', 'sync_interval', 'ignore_ssl_error', 'login_provisioning');
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2529
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2530
case "generic-oidc":
case "generic-oidc":
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2531
$_data['authorize_url'] = (!empty($_data['authorize_url'])) ? $_data['authorize_url'] : null;
$_data['authorize_url'] = (!empty($_data['authorize_url'])) ? $_data['authorize_url'] : null;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2532
$_data['token_url'] = (!empty($_data['token_url'])) ? $_data['token_url'] : null;
$_data['token_url'] = (!empty($_data['token_url'])) ? $_data['token_url'] : null;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2533
$_data['userinfo_url'] = (!empty($_data['userinfo_url'])) ? $_data['userinfo_url'] : null;
$_data['userinfo_url'] = (!empty($_data['userinfo_url'])) ? $_data['userinfo_url'] : null;
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2534
$_data['client_scopes'] = (!empty($_data['client_scopes'])) ? $_data['client_scopes'] : "openid profile email mailcow_template";
$_data['client_scopes'] = (!empty($_data['client_scopes'])) ? $_data['client_scopes'] : "openid profile email mailcow_template";
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2535
$required_settings = array('authsource', 'authorize_url', 'token_url', 'client_id', 'client_secret', 'redirect_url', 'userinfo_url', 'client_scopes', 'ignore_ssl_error', 'login_provisioning');
$required_settings = array('authsource', 'authorize_url', 'token_url', 'client_id', 'client_secret', 'redirect_url', 'userinfo_url', 'client_scopes', 'ignore_ssl_error', 'login_provisioning');
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2536
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2537
case "ldap":
case "ldap":
FreddleSpl0it
over 1 year ago
ec4b9b0
[Web] support multiple ldap hosts separated by comma
- Full commit hash
ec4b9b088c875f967fdc160a21481361a101127b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2538
$_data['host'] = (!empty($_data['host'])) ? str_replace(" ", "", $_data['host']) : "";
$_data['host'] = (!empty($_data['host'])) ? str_replace(" ", "", $_data['host']) : "";
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2539
$_data['port'] = (!empty($_data['port'])) ? intval($_data['port']) : 389;
$_data['port'] = (!empty($_data['port'])) ? intval($_data['port']) : 389;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2540
$_data['username_field'] = (!empty($_data['username_field'])) ? strtolower($_data['username_field']) : "mail";
$_data['username_field'] = (!empty($_data['username_field'])) ? strtolower($_data['username_field']) : "mail";
same change
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2541
$_data['attribute_field'] = (!empty($_data['attribute_field'])) ? strtolower($_data['attribute_field']) : "";
$_data['attribute_field'] = (!empty($_data['attribute_field'])) ? strtolower($_data['attribute_field']) : "";
FreddleSpl0it
over 2 years ago
78e7266
[Web] add LDAP query filter
- Full commit hash
78e726636844b9b63fca48f68aeeaeb1f16d0b02- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2542
$_data['filter'] = (!empty($_data['filter'])) ? $_data['filter'] : "";
$_data['filter'] = (!empty($_data['filter'])) ? $_data['filter'] : "";
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2543
$_data['periodic_sync'] = isset($_data['periodic_sync']) ? intval($_data['periodic_sync']) : 0;
$_data['periodic_sync'] = isset($_data['periodic_sync']) ? intval($_data['periodic_sync']) : 0;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2544
$_data['import_users'] = isset($_data['import_users']) ? intval($_data['import_users']) : 0;
$_data['import_users'] = isset($_data['import_users']) ? intval($_data['import_users']) : 0;
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2545
$_data['use_ssl'] = isset($_data['use_ssl']) ? boolval($_data['use_ssl']) : false;
$_data['use_ssl'] = isset($_data['use_ssl']) ? boolval($_data['use_ssl']) : false;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2546
$_data['use_tls'] = isset($_data['use_tls']) && !$_data['use_ssl'] ? boolval($_data['use_tls']) : false;
$_data['use_tls'] = isset($_data['use_tls']) && !$_data['use_ssl'] ? boolval($_data['use_tls']) : false;
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2547
$_data['sync_interval'] = (!empty($_data['sync_interval'])) ? intval($_data['sync_interval']) : 15;
$_data['sync_interval'] = (!empty($_data['sync_interval'])) ? intval($_data['sync_interval']) : 15;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2548
$_data['sync_interval'] = $_data['sync_interval'] < 1 ? 1 : $_data['sync_interval'];
$_data['sync_interval'] = $_data['sync_interval'] < 1 ? 1 : $_data['sync_interval'];
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2549
$required_settings = array('authsource', 'host', 'port', 'basedn', 'username_field', 'filter', 'attribute_field', 'binddn', 'bindpass', 'periodic_sync', 'import_users', 'sync_interval', 'use_ssl', 'use_tls', 'ignore_ssl_error', 'login_provisioning');
$required_settings = array('authsource', 'host', 'port', 'basedn', 'username_field', 'filter', 'attribute_field', 'binddn', 'bindpass', 'periodic_sync', 'import_users', 'sync_interval', 'use_ssl', 'use_tls', 'ignore_ssl_error', 'login_provisioning');
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2550
break;
break;
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2551
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2552
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2553
$pdo->beginTransaction();
$pdo->beginTransaction();
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2554
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES (:key, :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES (:key, :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2555
// add connection settings
// add connection settings
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2556
foreach($required_settings as $setting){
foreach($required_settings as $setting){
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2557
if (!isset($_data[$setting])){
if (!isset($_data[$setting])){
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2558
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2559
'type' => 'danger',
'type' => 'danger',
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2560
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2561
'msg' => array('required_data_missing', $setting)
'msg' => array('required_data_missing', $setting)
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2562
);
);
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2563
$pdo->rollback();
$pdo->rollback();
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2564
return false;
return false;
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2565
}
}
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2566
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2567
$stmt->bindParam(':key', $setting);
$stmt->bindParam(':key', $setting);
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2568
$stmt->bindParam(':value', $_data[$setting]);
$stmt->bindParam(':value', $_data[$setting]);
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2569
$stmt->execute();
$stmt->execute();
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2570
}
}
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2571
$pdo->commit();
$pdo->commit();
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2572
PseudoResonance
over 1 year ago
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2573
// add redirect_url_extra
// add redirect_url_extra
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2574
if (isset($_data['redirect_url_extra'])){
if (isset($_data['redirect_url_extra'])){
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2575
$_data['redirect_url_extra'] = (!is_array($_data['redirect_url_extra'])) ? array($_data['redirect_url_extra']) : $_data['redirect_url_extra'];
$_data['redirect_url_extra'] = (!is_array($_data['redirect_url_extra'])) ? array($_data['redirect_url_extra']) : $_data['redirect_url_extra'];
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2576
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2577
$redirect_url_extra = array_filter($_data['redirect_url_extra']);
$redirect_url_extra = array_filter($_data['redirect_url_extra']);
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2578
$redirect_url_extra = json_encode($redirect_url_extra);
$redirect_url_extra = json_encode($redirect_url_extra);
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2579
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2580
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('redirect_url_extra', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('redirect_url_extra', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2581
$stmt->bindParam(':value', $redirect_url_extra);
$stmt->bindParam(':value', $redirect_url_extra);
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2582
$stmt->execute();
$stmt->execute();
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2583
}
}
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2584
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2585
// add default template
// add default template
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2586
if (isset($_data['default_template'])) {
if (isset($_data['default_template'])) {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2587
$_data['default_template'] = (empty($_data['default_template'])) ? "" : $_data['default_template'];
$_data['default_template'] = (empty($_data['default_template'])) ? "" : $_data['default_template'];
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2588
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('default_template', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('default_template', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2589
$stmt->bindParam(':value', $_data['default_template']);
$stmt->bindParam(':value', $_data['default_template']);
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2590
$stmt->execute();
$stmt->execute();
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2591
}
}
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2592
FreddleSpl0it
over 3 years ago
b7a1825
[Web] rename role mapping to attribute mapping
- Full commit hash
b7a18255fe77a911bbdd929628c547357180df01- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2593
// add mappers
// add mappers
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2594
if (isset($_data['mappers']) && isset($_data['templates'])){
if (isset($_data['mappers']) && isset($_data['templates'])){
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2595
$_data['mappers'] = (!is_array($_data['mappers'])) ? array($_data['mappers']) : $_data['mappers'];
$_data['mappers'] = (!is_array($_data['mappers'])) ? array($_data['mappers']) : $_data['mappers'];
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2596
$_data['templates'] = (!is_array($_data['templates'])) ? array($_data['templates']) : $_data['templates'];
$_data['templates'] = (!is_array($_data['templates'])) ? array($_data['templates']) : $_data['templates'];
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2597
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2598
$mappers = array_filter($_data['mappers']);
$mappers = array_filter($_data['mappers']);
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2599
$templates = array_filter($_data['templates']);
$templates = array_filter($_data['templates']);
FreddleSpl0it
over 3 years ago
b7a1825
[Web] rename role mapping to attribute mapping
- Full commit hash
b7a18255fe77a911bbdd929628c547357180df01- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2600
if (count($mappers) == count($templates)){
if (count($mappers) == count($templates)){
same change
b7a1825
[Web] rename role mapping to attribute mapping
- Full commit hash
b7a18255fe77a911bbdd929628c547357180df01- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2601
$mappers = json_encode($mappers);
$mappers = json_encode($mappers);
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2602
$templates = json_encode($templates);
$templates = json_encode($templates);
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2603
FreddleSpl0it
over 3 years ago
b7a1825
[Web] rename role mapping to attribute mapping
- Full commit hash
b7a18255fe77a911bbdd929628c547357180df01- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2604
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('mappers', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('mappers', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
b7a1825
[Web] rename role mapping to attribute mapping
- Full commit hash
b7a18255fe77a911bbdd929628c547357180df01- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2605
$stmt->bindParam(':value', $mappers);
$stmt->bindParam(':value', $mappers);
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2606
$stmt->execute();
$stmt->execute();
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2607
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('templates', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES ('templates', :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2608
$stmt->bindParam(':value', $templates);
$stmt->bindParam(':value', $templates);
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2609
$stmt->execute();
$stmt->execute();
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2610
}
}
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2611
}
}
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2612
FreddleSpl0it
about 3 years ago
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2613
// delete old access_token
// delete old access_token
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2614
$stmt = $pdo->query("INSERT INTO identity_provider (`key`, `value`) VALUES ('access_token', '') ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->query("INSERT INTO identity_provider (`key`, `value`) VALUES ('access_token', '') ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
3b6a1d5
[Web] add generic-oidc provider
- Full commit hash
3b6a1d50bd463b3db54403a9a3264bbcbd1af1e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2615
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2616
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2617
'type' => 'success',
'type' => 'success',
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2618
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2619
'msg' => array('object_modified', '')
'msg' => array('object_modified', '')
same change
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2620
);
);
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2621
return true;
return true;
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2622
break;
break;
FreddleSpl0it
over 3 years ago
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2623
case 'test':
case 'test':
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2624
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2625
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2626
'type' => 'danger',
'type' => 'danger',
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2627
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2628
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2629
);
);
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2630
return false;
return false;
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2631
}
}
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2632
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2633
switch ($_data['authsource']) {
switch ($_data['authsource']) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2634
case 'keycloak':
case 'keycloak':
FreddleSpl0it
over 1 year ago
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2635
$url = "{$_data['server_url']}/realms/{$_data['realm']}/protocol/openid-connect/token";
$url = "{$_data['server_url']}/realms/{$_data['realm']}/protocol/openid-connect/token";
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2636
$req = http_build_query(array(
$req = http_build_query(array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2637
'grant_type' => 'client_credentials',
'grant_type' => 'client_credentials',
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2638
'client_id' => $_data['client_id'],
'client_id' => $_data['client_id'],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2639
'client_secret' => $_data['client_secret']
'client_secret' => $_data['client_secret']
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2640
));
));
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2641
$curl = curl_init();
$curl = curl_init();
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2642
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_URL, $url);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2643
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2644
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POST, 1);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2645
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2646
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2647
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
FreddleSpl0it
over 1 year ago
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2648
if ($_data['ignore_ssl_error'] == "1"){
if ($_data['ignore_ssl_error'] == "1"){
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2649
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2650
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2651
}
}
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2652
$res = curl_exec($curl);
$res = curl_exec($curl);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2653
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2654
curl_close ($curl);
curl_close ($curl);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2655
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2656
if ($code != 200) {
if ($code != 200) {
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2657
return false;
return false;
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2658
}
}
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2659
break;
break;
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2660
case 'generic-oidc':
case 'generic-oidc':
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2661
$url = $_data['token_url'];
$url = $_data['token_url'];
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2662
$curl = curl_init();
$curl = curl_init();
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2663
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_URL, $url);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2664
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2665
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2666
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2667
if ($_data['ignore_ssl_error'] == "1"){
if ($_data['ignore_ssl_error'] == "1"){
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2668
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2669
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
same change
55dcae4
[Web] Fix Generic-OIDC connection test
- Full commit hash
55dcae4a01998b3d9ed861a3f833b6b4df2567e0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2670
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2671
$res = curl_exec($curl);
$res = curl_exec($curl);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2672
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2673
curl_close ($curl);
curl_close ($curl);
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2674
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2675
if ($code != 200) {
if ($code != 200) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2676
return false;
return false;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2677
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2678
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2679
case 'ldap':
case 'ldap':
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2680
if (!$_data['host'] || !$_data['port'] || !$_data['basedn'] ||
if (!$_data['host'] || !$_data['port'] || !$_data['basedn'] ||
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2681
!$_data['binddn'] || !$_data['bindpass']){
!$_data['binddn'] || !$_data['bindpass']){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2682
return false;
return false;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2683
}
}
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2684
$_data['use_ssl'] = isset($_data['use_ssl']) ? boolval($_data['use_ssl']) : false;
$_data['use_ssl'] = isset($_data['use_ssl']) ? boolval($_data['use_ssl']) : false;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2685
$_data['use_tls'] = isset($_data['use_tls']) && !$_data['use_ssl'] ? boolval($_data['use_tls']) : false;
$_data['use_tls'] = isset($_data['use_tls']) && !$_data['use_ssl'] ? boolval($_data['use_tls']) : false;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2686
$_data['ignore_ssl_error'] = isset($_data['ignore_ssl_error']) ? boolval($_data['ignore_ssl_error']) : false;
$_data['ignore_ssl_error'] = isset($_data['ignore_ssl_error']) ? boolval($_data['ignore_ssl_error']) : false;
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2687
$options = array();
$options = array();
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2688
if ($_data['ignore_ssl_error']) {
if ($_data['ignore_ssl_error']) {
FreddleSpl0it
almost 2 years ago
320bd31
[Web] fix LDAP "ignore ssl errors" option
- Full commit hash
320bd31d372770b8abf444223b5d74376ff4c5b1- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2689
$options[LDAP_OPT_X_TLS_REQUIRE_CERT] = LDAP_OPT_X_TLS_NEVER;
$options[LDAP_OPT_X_TLS_REQUIRE_CERT] = LDAP_OPT_X_TLS_NEVER;
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2690
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2691
$provider = new \LdapRecord\Connection([
$provider = new \LdapRecord\Connection([
FreddleSpl0it
over 1 year ago
ec4b9b0
[Web] support multiple ldap hosts separated by comma
- Full commit hash
ec4b9b088c875f967fdc160a21481361a101127b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2692
'hosts' => explode(",", $_data['host']),
'hosts' => explode(",", $_data['host']),
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2693
'port' => $_data['port'],
'port' => $_data['port'],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2694
'base_dn' => $_data['basedn'],
'base_dn' => $_data['basedn'],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2695
'username' => $_data['binddn'],
'username' => $_data['binddn'],
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2696
'password' => $_data['bindpass'],
'password' => $_data['bindpass'],
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2697
'use_ssl' => $_data['use_ssl'],
'use_ssl' => $_data['use_ssl'],
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2698
'use_tls' => $_data['use_tls'],
'use_tls' => $_data['use_tls'],
same change
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2699
'options' => $options
'options' => $options
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2700
]);
]);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2701
try {
try {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2702
$provider->connect();
$provider->connect();
FreddleSpl0it
almost 2 years ago
82fcddb
[Web] Fix catch block in LDAP connection test
- Full commit hash
82fcddb177639ae1a1884094ce3d7fbb8dbbafda- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2703
} catch (Throwable $e) {
} catch (Throwable $e) {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2704
return false;
return false;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2705
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2706
break;
break;
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2707
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2708
FreddleSpl0it
over 3 years ago
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2709
return true;
return true;
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2710
break;
break;
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2711
case "delete":
case "delete":
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2712
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2713
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2714
'type' => 'danger',
'type' => 'danger',
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2715
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2716
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2717
);
);
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2718
return false;
return false;
same change
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2719
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2720
FreddleSpl0it
almost 3 years ago
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2721
$stmt = $pdo->query("SELECT * FROM `mailbox`
$stmt = $pdo->query("SELECT * FROM `mailbox`
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2722
WHERE `authsource` != 'mailcow'
WHERE `authsource` != 'mailcow'
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2723
AND `authsource` IS NOT NULL");
AND `authsource` IS NOT NULL");
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2724
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2725
if ($rows) {
if ($rows) {
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2726
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2727
'type' => 'danger',
'type' => 'danger',
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2728
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2729
'msg' => array('authsource_in_use', $setting)
'msg' => array('authsource_in_use', $setting)
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2730
);
);
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2731
return false;
return false;
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2732
}
}
FreddleSpl0it
over 3 years ago
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2733
FreddleSpl0it
almost 3 years ago
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2734
$stmt = $pdo->query("DELETE FROM identity_provider;");
$stmt = $pdo->query("DELETE FROM identity_provider;");
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2735
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2736
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2737
'type' => 'success',
'type' => 'success',
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2738
'log' => array(__FUNCTION__, $_action, $data_log),
'log' => array(__FUNCTION__, $_action, $data_log),
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2739
'msg' => array('item_deleted', '')
'msg' => array('item_deleted', '')
same change
04e2494
deny changes on identity provider if it's in use
- Full commit hash
04e2494af8abb732f2b6808a266fa0d775542977- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2740
);
);
FreddleSpl0it
over 3 years ago
3c62a7f
[Web] IAM - add delete option & fix test connection
- Full commit hash
3c62a7fd9f67592371f2334e04cf7dbcfa328073- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2741
return true;
return true;
FreddleSpl0it
over 3 years ago
6e9980b
[Web] add manage identity provider
- Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2742
break;
break;
FreddleSpl0it
over 3 years ago
dca5f1b
[Web] move /process/login to internal endpoint
- Full commit hash
dca5f1baab2ed5a0d5e8309df6b2909a15ed70a4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2743
case "init":
case "init":
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2744
$settings = identity_provider('get');
$settings = identity_provider('get');
FreddleSpl0it
over 3 years ago
dca5f1b
[Web] move /process/login to internal endpoint
- Full commit hash
dca5f1baab2ed5a0d5e8309df6b2909a15ed70a4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2745
$provider = null;
$provider = null;
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2746
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2747
switch ($settings['authsource']) {
switch ($settings['authsource']) {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2748
case "keycloak":
case "keycloak":
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2749
if ($settings['server_url'] && $settings['realm'] && $settings['client_id'] &&
if ($settings['server_url'] && $settings['realm'] && $settings['client_id'] &&
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2750
$settings['client_secret'] && $settings['redirect_url'] && $settings['version']){
$settings['client_secret'] && $settings['redirect_url'] && $settings['version']){
FreddleSpl0it
over 1 year ago
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2751
$guzzyClient = new GuzzleHttp\Client([
$guzzyClient = new GuzzleHttp\Client([
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2752
'defaults' => [
'defaults' => [
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2753
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 5,
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 5,
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2754
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => true],
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => true],
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2755
\GuzzleHttp\RequestOptions::VERIFY => !$settings['ignore_ssl_error'],
\GuzzleHttp\RequestOptions::VERIFY => !$settings['ignore_ssl_error'],
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2756
]
]
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2757
);
);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2758
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2759
'authServerUrl' => $settings['server_url'],
'authServerUrl' => $settings['server_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2760
'realm' => $settings['realm'],
'realm' => $settings['realm'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2761
'clientId' => $settings['client_id'],
'clientId' => $settings['client_id'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2762
'clientSecret' => $settings['client_secret'],
'clientSecret' => $settings['client_secret'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2763
'redirectUri' => $settings['redirect_url'],
'redirectUri' => $settings['redirect_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2764
'version' => $settings['version'],
'version' => $settings['version'],
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2765
// 'encryptionAlgorithm' => 'RS256', // optional
// 'encryptionAlgorithm' => 'RS256', // optional
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2766
// 'encryptionKeyPath' => '../key.pem' // optional
// 'encryptionKeyPath' => '../key.pem' // optional
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2767
// 'encryptionKey' => 'contents_of_key_or_certificate' // optional
// 'encryptionKey' => 'contents_of_key_or_certificate' // optional
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2768
]);
]);
FreddleSpl0it
over 1 year ago
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2769
$provider->setHttpClient($guzzyClient);
$provider->setHttpClient($guzzyClient);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2770
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2771
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2772
case "generic-oidc":
case "generic-oidc":
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2773
if ($settings['client_id'] && $settings['client_secret'] && $settings['redirect_url'] &&
if ($settings['client_id'] && $settings['client_secret'] && $settings['redirect_url'] &&
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2774
$settings['authorize_url'] && $settings['token_url'] && $settings['userinfo_url']){
$settings['authorize_url'] && $settings['token_url'] && $settings['userinfo_url']){
FreddleSpl0it
over 1 year ago
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2775
$guzzyClient = new GuzzleHttp\Client([
$guzzyClient = new GuzzleHttp\Client([
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2776
'defaults' => [
'defaults' => [
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2777
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 5,
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 5,
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2778
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => true],
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => true],
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2779
\GuzzleHttp\RequestOptions::VERIFY => !$settings['ignore_ssl_error'],
\GuzzleHttp\RequestOptions::VERIFY => !$settings['ignore_ssl_error'],
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2780
]
]
same change
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2781
);
);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2782
$provider = new \League\OAuth2\Client\Provider\GenericProvider([
$provider = new \League\OAuth2\Client\Provider\GenericProvider([
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2783
'clientId' => $settings['client_id'],
'clientId' => $settings['client_id'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2784
'clientSecret' => $settings['client_secret'],
'clientSecret' => $settings['client_secret'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2785
'redirectUri' => $settings['redirect_url'],
'redirectUri' => $settings['redirect_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2786
'urlAuthorize' => $settings['authorize_url'],
'urlAuthorize' => $settings['authorize_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2787
'urlAccessToken' => $settings['token_url'],
'urlAccessToken' => $settings['token_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2788
'urlResourceOwnerDetails' => $settings['userinfo_url'],
'urlResourceOwnerDetails' => $settings['userinfo_url'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2789
'scopes' => $settings['client_scopes']
'scopes' => $settings['client_scopes']
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2790
]);
]);
FreddleSpl0it
over 1 year ago
c8c4cfd
[Web] add ignore ssl option for keycloak and generic-oidc provider
- Full commit hash
c8c4cfd939a5c4fd91cbe0c892a9cc9614314f0e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2791
$provider->setHttpClient($guzzyClient);
$provider->setHttpClient($guzzyClient);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2792
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2793
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2794
case "ldap":
case "ldap":
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2795
if ($settings['host'] && $settings['port'] && $settings['basedn'] &&
if ($settings['host'] && $settings['port'] && $settings['basedn'] &&
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2796
$settings['binddn'] && $settings['bindpass']){
$settings['binddn'] && $settings['bindpass']){
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2797
$options = array();
$options = array();
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2798
if ($settings['ignore_ssl_error']) {
if ($settings['ignore_ssl_error']) {
FreddleSpl0it
almost 2 years ago
320bd31
[Web] fix LDAP "ignore ssl errors" option
- Full commit hash
320bd31d372770b8abf444223b5d74376ff4c5b1- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2799
$options[LDAP_OPT_X_TLS_REQUIRE_CERT] = LDAP_OPT_X_TLS_NEVER;
$options[LDAP_OPT_X_TLS_REQUIRE_CERT] = LDAP_OPT_X_TLS_NEVER;
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2800
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2801
$provider = new \LdapRecord\Connection([
$provider = new \LdapRecord\Connection([
FreddleSpl0it
over 1 year ago
ec4b9b0
[Web] support multiple ldap hosts separated by comma
- Full commit hash
ec4b9b088c875f967fdc160a21481361a101127b- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2802
'hosts' => explode(",", $settings['host']),
'hosts' => explode(",", $settings['host']),
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2803
'port' => $settings['port'],
'port' => $settings['port'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2804
'base_dn' => $settings['basedn'],
'base_dn' => $settings['basedn'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2805
'username' => $settings['binddn'],
'username' => $settings['binddn'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2806
'password' => $settings['bindpass'],
'password' => $settings['bindpass'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2807
'use_ssl' => $settings['use_ssl'],
'use_ssl' => $settings['use_ssl'],
same change
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2808
'use_tls' => $settings['use_tls'],
'use_tls' => $settings['use_tls'],
FreddleSpl0it
over 2 years ago
2ba64e9
[Web] allow SSL / TLS connections for LDAP
- Full commit hash
2ba64e93f9f7a152cc32e3e9fb79eaee88bb8d9d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2809
'options' => $options
'options' => $options
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2810
]);
]);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2811
try {
try {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2812
$provider->connect();
$provider->connect();
FreddleSpl0it
over 2 years ago
916d0fd
[Web] catch all exceptions on ldap connect
- Full commit hash
916d0fd46aa47b3a72800bf040db5309a13ed87a- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2813
} catch (Throwable $e) {
} catch (Throwable $e) {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2814
$provider = null;
$provider = null;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2815
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2816
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2817
break;
break;
FreddleSpl0it
over 3 years ago
dca5f1b
[Web] move /process/login to internal endpoint
- Full commit hash
dca5f1baab2ed5a0d5e8309df6b2909a15ed70a4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2818
}
}
same change
dca5f1b
[Web] move /process/login to internal endpoint
- Full commit hash
dca5f1baab2ed5a0d5e8309df6b2909a15ed70a4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2819
return $provider;
return $provider;
same change
dca5f1b
[Web] move /process/login to internal endpoint
- Full commit hash
dca5f1baab2ed5a0d5e8309df6b2909a15ed70a4- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 2820
break;
break;
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2821
case "verify-sso":
case "verify-sso":
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2822
if ($iam_settings['authsource'] != 'keycloak' && $iam_settings['authsource'] != 'generic-oidc'){
if ($iam_settings['authsource'] != 'keycloak' && $iam_settings['authsource'] != 'generic-oidc'){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2823
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2824
'type' => 'danger',
'type' => 'danger',
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2825
'log' => array(__FUNCTION__, "no OIDC provider configured"),
'log' => array(__FUNCTION__, "no OIDC provider configured"),
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2826
'msg' => 'login_failed'
'msg' => 'login_failed'
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2827
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2828
return false;
return false;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2829
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2830
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2831
try {
try {
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2832
$token = $iam_provider->getAccessToken('authorization_code', ['code' => $_GET['code']]);
$token = $iam_provider->getAccessToken('authorization_code', ['code' => $_GET['code']]);
FreddleSpl0it
over 1 year ago
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2833
$plain_token = $token->getToken();
$plain_token = $token->getToken();
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2834
$plain_refreshtoken = $token->getRefreshToken();
$plain_refreshtoken = $token->getRefreshToken();
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2835
$info = $iam_provider->getResourceOwner($token)->toArray();
$info = $iam_provider->getResourceOwner($token)->toArray();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2836
} catch (Throwable $e) {
} catch (Throwable $e) {
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2837
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2838
'type' => 'danger',
'type' => 'danger',
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2839
'log' => array(__FUNCTION__, $e->getMessage()),
'log' => array(__FUNCTION__, $e->getMessage()),
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2840
'msg' => 'login_failed'
'msg' => 'login_failed'
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2841
);
);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2842
return false;
return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2843
}
}
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2844
// check if email address is given
// check if email address is given
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2845
if (empty($info['email'])) {
if (empty($info['email'])) {
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2846
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2847
'type' => 'danger',
'type' => 'danger',
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2848
'log' => array(__FUNCTION__, 'No email address found for user'),
'log' => array(__FUNCTION__, 'No email address found for user'),
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2849
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2850
);
);
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2851
return false;
return false;
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2852
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2853
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2854
// get mapped template
// get mapped template
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2855
$user_template = $info['mailcow_template'];
$user_template = $info['mailcow_template'];
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2856
$mapper_key = array_search($user_template, $iam_settings['mappers']);
$mapper_key = array_search($user_template, $iam_settings['mappers']);
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2857
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2858
// token valid, get mailbox
// token valid, get mailbox
FreddleSpl0it
over 1 year ago
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2859
$stmt = $pdo->prepare("SELECT
$stmt = $pdo->prepare("SELECT
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2860
mailbox.*,
mailbox.*,
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2861
domain.active AS d_active
domain.active AS d_active
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2862
FROM `mailbox`
FROM `mailbox`
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2863
INNER JOIN domain on mailbox.domain = domain.domain
INNER JOIN domain on mailbox.domain = domain.domain
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2864
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
FreddleSpl0it
over 1 year ago
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2865
AND `username` = :user");
AND `username` = :user");
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2866
$stmt->execute(array(':user' => $info['email']));
$stmt->execute(array(':user' => $info['email']));
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2867
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2868
if ($row){
if ($row){
FreddleSpl0it
over 1 year ago
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2869
if (!in_array($row['authsource'], array("keycloak", "generic-oidc"))) {
if (!in_array($row['authsource'], array("keycloak", "generic-oidc"))) {
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2870
clear_session();
clear_session();
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2871
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2872
'type' => 'danger',
'type' => 'danger',
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2873
'log' => array(__FUNCTION__, $info['email'], "The user's authentication source is not of type OIDC"),
'log' => array(__FUNCTION__, $info['email'], "The user's authentication source is not of type OIDC"),
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2874
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2875
);
);
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2876
return false;
return false;
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2877
}
}
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2878
if ($mapper_key !== false) {
if ($mapper_key !== false) {
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2879
// update user
// update user
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2880
$_SESSION['access_all_exception'] = '1';
$_SESSION['access_all_exception'] = '1';
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2881
mailbox('edit', 'mailbox_from_template', array(
mailbox('edit', 'mailbox_from_template', array(
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2882
'username' => $info['email'],
'username' => $info['email'],
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2883
'name' => $info['name'],
'name' => $info['name'],
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2884
'template' => $iam_settings['templates'][$mapper_key]
'template' => $iam_settings['templates'][$mapper_key]
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2885
));
));
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2886
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
FreddleSpl0it
over 1 year ago
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2887
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2888
// get updated row
// get updated row
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2889
$stmt = $pdo->prepare("SELECT
$stmt = $pdo->prepare("SELECT
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2890
mailbox.*,
mailbox.*,
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2891
domain.active AS d_active
domain.active AS d_active
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2892
FROM `mailbox`
FROM `mailbox`
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2893
INNER JOIN domain on mailbox.domain = domain.domain
INNER JOIN domain on mailbox.domain = domain.domain
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2894
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2895
AND `username` = :user");
AND `username` = :user");
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2896
$stmt->execute(array(':user' => $info['email']));
$stmt->execute(array(':user' => $info['email']));
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2897
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2898
}
}
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2899
if ($row['active'] != 1 || $row['d_active'] != 1) {
if ($row['active'] != 1 || $row['d_active'] != 1) {
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2900
clear_session();
clear_session();
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2901
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2902
'type' => 'danger',
'type' => 'danger',
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2903
'log' => array(__FUNCTION__, $info['email'], 'Domain or mailbox is inactive'),
'log' => array(__FUNCTION__, $info['email'], 'Domain or mailbox is inactive'),
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2904
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2905
);
);
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2906
return false;
return false;
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2907
}
}
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2908
set_user_loggedin_session($info['email']);
set_user_loggedin_session($info['email']);
FreddleSpl0it
over 1 year ago
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2909
$_SESSION['iam_token'] = $plain_token;
$_SESSION['iam_token'] = $plain_token;
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2910
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2911
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2912
'type' => 'success',
'type' => 'success',
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2913
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2914
'msg' => array('logged_in_as', $_SESSION['mailcow_cc_username'])
'msg' => array('logged_in_as', $_SESSION['mailcow_cc_username'])
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2915
);
);
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2916
return true;
return true;
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2917
}
}
same change
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2918
FreddleSpl0it
about 1 year ago
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2919
// user doesn't exist, check if login provisioning is enabled
// user doesn't exist, check if login provisioning is enabled
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2920
if (!$iam_settings['login_provisioning']){
if (!$iam_settings['login_provisioning']){
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2921
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2922
'type' => 'danger',
'type' => 'danger',
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2923
'log' => array(__FUNCTION__, "Auto-create users on login is deactivated"),
'log' => array(__FUNCTION__, "Auto-create users on login is deactivated"),
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2924
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2925
);
);
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2926
return false;
return false;
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2927
}
}
same change
1b2f424
[Web] Add identity_provider option to disable auto-creation of users on login
- Full commit hash
1b2f424edc7b5f91c450b36b5cf64f012e7b821b- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 2928
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2929
if (empty($iam_settings['mappers']) || empty($user_template) || $mapper_key === false){
if (empty($iam_settings['mappers']) || empty($user_template) || $mapper_key === false){
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2930
if (!empty($iam_settings['default_template'])) {
if (!empty($iam_settings['default_template'])) {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2931
$mbox_template = $iam_settings['default_template'];
$mbox_template = $iam_settings['default_template'];
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2932
} else {
} else {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2933
clear_session();
clear_session();
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2934
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2935
'type' => 'danger',
'type' => 'danger',
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2936
'log' => array(__FUNCTION__, $info['email'], 'No matching attribute mapping was found'),
'log' => array(__FUNCTION__, $info['email'], 'No matching attribute mapping was found'),
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2937
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2938
);
);
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2939
return false;
return false;
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2940
}
}
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2941
} else {
} else {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2942
$mbox_template = $iam_settings['templates'][$mapper_key];
$mbox_template = $iam_settings['templates'][$mapper_key];
FreddleSpl0it
over 1 year ago
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2943
}
}
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2944
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2945
// create mailbox
// create mailbox
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2946
$_SESSION['access_all_exception'] = '1';
$_SESSION['access_all_exception'] = '1';
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2947
$create_res = mailbox('add', 'mailbox_from_template', array(
$create_res = mailbox('add', 'mailbox_from_template', array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2948
'domain' => explode('@', $info['email'])[1],
'domain' => explode('@', $info['email'])[1],
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2949
'local_part' => explode('@', $info['email'])[0],
'local_part' => explode('@', $info['email'])[0],
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2950
'name' => $info['name'],
'name' => $info['name'],
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2951
'authsource' => $iam_settings['authsource'],
'authsource' => $iam_settings['authsource'],
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2952
'template' => $mbox_template
'template' => $mbox_template
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2953
));
));
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2954
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2955
if (!$create_res){
if (!$create_res){
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2956
clear_session();
clear_session();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2957
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2958
'type' => 'danger',
'type' => 'danger',
FreddleSpl0it
over 1 year ago
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2959
'log' => array(__FUNCTION__, $info['email'], 'Could not create mailbox on login'),
'log' => array(__FUNCTION__, $info['email'], 'Could not create mailbox on login'),
same change
2596b9d
[Web] Improve auth logging and language strings
- Full commit hash
2596b9d3860ed5804f25ae77c1d5f1e3af50c24f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2960
'msg' => 'login_failed'
'msg' => 'login_failed'
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2961
);
);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2962
return false;
return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2963
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 2964
FreddleSpl0it
over 1 year ago
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2965
// double check if mailbox and domain is active
// double check if mailbox and domain is active
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2966
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2967
INNER JOIN domain on mailbox.domain = domain.domain
INNER JOIN domain on mailbox.domain = domain.domain
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2968
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2969
AND `mailbox`.`active`='1'
AND `mailbox`.`active`='1'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2970
AND `domain`.`active`='1'
AND `domain`.`active`='1'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2971
AND `username` = :user");
AND `username` = :user");
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2972
$stmt->execute(array(':user' => $info['email']));
$stmt->execute(array(':user' => $info['email']));
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2973
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2974
if (empty($row)) {
if (empty($row)) {
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2975
clear_session();
clear_session();
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2976
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2977
'type' => 'danger',
'type' => 'danger',
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2978
'log' => array(__FUNCTION__, $info['email'], 'Domain or mailbox is inactive'),
'log' => array(__FUNCTION__, $info['email'], 'Domain or mailbox is inactive'),
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2979
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2980
);
);
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2981
return false;
return false;
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2982
}
}
same change
cb08132
[Web] Fix authentication when mailbox or domain is deactivated
- Full commit hash
cb08132a74db2ccfacbacd558066be602b447cfa- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2983
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 2984
set_user_loggedin_session($info['email']);
set_user_loggedin_session($info['email']);
FreddleSpl0it
over 1 year ago
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2985
$_SESSION['iam_token'] = $plain_token;
$_SESSION['iam_token'] = $plain_token;
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2986
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2987
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2988
'type' => 'success',
'type' => 'success',
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2989
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2990
'msg' => array('logged_in_as', $_SESSION['mailcow_cc_username'])
'msg' => array('logged_in_as', $_SESSION['mailcow_cc_username'])
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2991
);
);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2992
return true;
return true;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2993
break;
break;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2994
case "refresh-token":
case "refresh-token":
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2995
try {
try {
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2996
$token = $iam_provider->getAccessToken('refresh_token', ['refresh_token' => $_SESSION['iam_refresh_token']]);
$token = $iam_provider->getAccessToken('refresh_token', ['refresh_token' => $_SESSION['iam_refresh_token']]);
FreddleSpl0it
over 1 year ago
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2997
$plain_token = $token->getToken();
$plain_token = $token->getToken();
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2998
$plain_refreshtoken = $token->getRefreshToken();
$plain_refreshtoken = $token->getRefreshToken();
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 2999
$info = $iam_provider->getResourceOwner($token)->toArray();
$info = $iam_provider->getResourceOwner($token)->toArray();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3000
} catch (Throwable $e) {
} catch (Throwable $e) {
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3001
clear_session();
clear_session();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3002
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3003
'type' => 'danger',
'type' => 'danger',
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3004
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3005
'msg' => array('refresh_login_failed', $e->getMessage())
'msg' => array('refresh_login_failed', $e->getMessage())
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3006
);
);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3007
return false;
return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3008
}
}
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3009
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3010
if (empty($info['email'])){
if (empty($info['email'])){
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3011
clear_session();
clear_session();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3012
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3013
'type' => 'danger',
'type' => 'danger',
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3014
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3015
'msg' => 'refresh_login_failed'
'msg' => 'refresh_login_failed'
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3016
);
);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3017
return false;
return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3018
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3019
FreddleSpl0it
over 1 year ago
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3020
set_user_loggedin_session($info['email']);
set_user_loggedin_session($info['email']);
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3021
$_SESSION['iam_token'] = $plain_token;
$_SESSION['iam_token'] = $plain_token;
same change
83e53eb
[Web] fix incomplete session on broken logins
- Full commit hash
83e53eb524c816b9b99209bb1a5000ea8821b9e1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3022
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
$_SESSION['iam_refresh_token'] = $plain_refreshtoken;
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3023
return true;
return true;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3024
break;
break;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3025
case "get-redirect":
case "get-redirect":
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3026
if ($iam_settings['authsource'] != 'keycloak' && $iam_settings['authsource'] != 'generic-oidc')
if ($iam_settings['authsource'] != 'keycloak' && $iam_settings['authsource'] != 'generic-oidc')
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3027
return false;
return false;
PseudoResonance
over 1 year ago
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3028
$options = [];
$options = [];
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3029
if (isset($iam_settings['redirect_url_extra'])) {
if (isset($iam_settings['redirect_url_extra'])) {
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3030
// check if the current domain is used in an extra redirect URL
// check if the current domain is used in an extra redirect URL
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3031
$targetDomain = strtolower($_SERVER['HTTP_HOST']);
$targetDomain = strtolower($_SERVER['HTTP_HOST']);
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3032
foreach ($iam_settings['redirect_url_extra'] as $testUrl) {
foreach ($iam_settings['redirect_url_extra'] as $testUrl) {
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3033
$testUrlParsed = parse_url($testUrl);
$testUrlParsed = parse_url($testUrl);
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3034
if (isset($testUrlParsed['host']) && strtolower($testUrlParsed['host']) == $targetDomain) {
if (isset($testUrlParsed['host']) && strtolower($testUrlParsed['host']) == $targetDomain) {
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3035
$options['redirect_uri'] = $testUrl;
$options['redirect_uri'] = $testUrl;
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3036
break;
break;
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3037
}
}
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3038
}
}
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3039
}
}
same change
692355a
Allow additional domains in OAuth2 redirect URLs
- Full commit hash
692355a08ad935b147ef8e877635d247a0e5aac3- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3040
$authUrl = $iam_provider->getAuthorizationUrl($options);
$authUrl = $iam_provider->getAuthorizationUrl($options);
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3041
$_SESSION['oauth2state'] = $iam_provider->getState();
$_SESSION['oauth2state'] = $iam_provider->getState();
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3042
return $authUrl;
return $authUrl;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3043
break;
break;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3044
case "get-keycloak-admin-token":
case "get-keycloak-admin-token":
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3045
// get access_token for service account of mailcow client
// get access_token for service account of mailcow client
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3046
if ($iam_settings['authsource'] !== 'keycloak') return false;
if ($iam_settings['authsource'] !== 'keycloak') return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3047
if (isset($iam_settings['access_token'])) {
if (isset($iam_settings['access_token'])) {
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3048
// check if access_token is valid
// check if access_token is valid
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3049
$url = "{$iam_settings['server_url']}/realms/{$iam_settings['realm']}/protocol/openid-connect/token/introspect";
$url = "{$iam_settings['server_url']}/realms/{$iam_settings['realm']}/protocol/openid-connect/token/introspect";
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3050
$req = http_build_query(array(
$req = http_build_query(array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3051
'token' => $iam_settings['access_token'],
'token' => $iam_settings['access_token'],
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3052
'client_id' => $iam_settings['client_id'],
'client_id' => $iam_settings['client_id'],
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3053
'client_secret' => $iam_settings['client_secret']
'client_secret' => $iam_settings['client_secret']
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3054
));
));
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3055
$curl = curl_init();
$curl = curl_init();
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3056
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_URL, $url);
FreddleSpl0it
about 3 years ago
6df6638
[Web] add curl timeouts to oidc requests
- Full commit hash
6df663825aaecdb05b2dcda3d27882f1397eee85- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3057
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3058
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POST, 1);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3059
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3060
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3061
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3062
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3063
$res = json_decode(curl_exec($curl), true);
$res = json_decode(curl_exec($curl), true);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3064
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3065
curl_close ($curl);
curl_close ($curl);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3066
if ($code == 200 && $res['active'] == true) {
if ($code == 200 && $res['active'] == true) {
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3067
// token is valid
// token is valid
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3068
return $iam_settings['access_token'];
return $iam_settings['access_token'];
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3069
}
}
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3070
}
}
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3071
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3072
$url = "{$iam_settings['server_url']}/realms/{$iam_settings['realm']}/protocol/openid-connect/token";
$url = "{$iam_settings['server_url']}/realms/{$iam_settings['realm']}/protocol/openid-connect/token";
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3073
$req = http_build_query(array(
$req = http_build_query(array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3074
'grant_type' => 'client_credentials',
'grant_type' => 'client_credentials',
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3075
'client_id' => $iam_settings['client_id'],
'client_id' => $iam_settings['client_id'],
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3076
'client_secret' => $iam_settings['client_secret']
'client_secret' => $iam_settings['client_secret']
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3077
));
));
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3078
$curl = curl_init();
$curl = curl_init();
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3079
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_URL, $url);
FreddleSpl0it
about 3 years ago
6df6638
[Web] add curl timeouts to oidc requests
- Full commit hash
6df663825aaecdb05b2dcda3d27882f1397eee85- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3080
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3081
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POST, 1);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3082
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
curl_setopt($curl, CURLOPT_POSTFIELDS, $req);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3083
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3084
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3085
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3086
$res = json_decode(curl_exec($curl), true);
$res = json_decode(curl_exec($curl), true);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3087
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3088
curl_close ($curl);
curl_close ($curl);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3089
if ($code != 200) {
if ($code != 200) {
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3090
return false;
return false;
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3091
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3092
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3093
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES (:key, :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
$stmt = $pdo->prepare("INSERT INTO identity_provider (`key`, `value`) VALUES (:key, :value) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);");
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3094
$stmt->execute(array(
$stmt->execute(array(
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3095
':key' => 'access_token',
':key' => 'access_token',
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3096
':value' => $res['access_token']
':value' => $res['access_token']
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3097
));
));
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3098
return $res['access_token'];
return $res['access_token'];
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3099
break;
break;
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 3100
}
}
same change
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 3101
}
}
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3102
function reset_password($action, $data = null) {
function reset_password($action, $data = null) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3103
global $pdo;
global $pdo;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3104
global $redis;
global $redis;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3105
global $mailcow_hostname;
global $mailcow_hostname;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3106
global $PW_RESET_TOKEN_LIMIT;
global $PW_RESET_TOKEN_LIMIT;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3107
global $PW_RESET_TOKEN_LIFETIME;
global $PW_RESET_TOKEN_LIFETIME;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3108
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3109
$_data_log = $data;
$_data_log = $data;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3110
if (isset($_data_log['new_password'])) $_data_log['new_password'] = '*';
if (isset($_data_log['new_password'])) $_data_log['new_password'] = '*';
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3111
if (isset($_data_log['new_password2'])) $_data_log['new_password2'] = '*';
if (isset($_data_log['new_password2'])) $_data_log['new_password2'] = '*';
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3112
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3113
switch ($action) {
switch ($action) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3114
case 'check':
case 'check':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3115
$token = $data;
$token = $data;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3116
FreddleSpl0it
almost 2 years ago
962ac39
Merge remote-tracking branch 'origin/staging' into nightly
- Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3117
$stmt = $pdo->prepare("SELECT `t1`.`username` FROM `reset_password` AS `t1` JOIN `mailbox` AS `t2` ON `t1`.`username` = `t2`.`username` WHERE `t1`.`token` = :token AND `t1`.`created` > DATE_SUB(NOW(), INTERVAL :lifetime MINUTE) AND `t2`.`active` = 1 AND `t2`.`authsource` = 'mailcow';");
$stmt = $pdo->prepare("SELECT `t1`.`username` FROM `reset_password` AS `t1` JOIN `mailbox` AS `t2` ON `t1`.`username` = `t2`.`username` WHERE `t1`.`token` = :token AND `t1`.`created` > DATE_SUB(NOW(), INTERVAL :lifetime MINUTE) AND `t2`.`active` = 1 AND `t2`.`authsource` = 'mailcow';");
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3118
$stmt->execute(array(
$stmt->execute(array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3119
':token' => preg_replace('/[^a-zA-Z0-9-]/', '', $token),
':token' => preg_replace('/[^a-zA-Z0-9-]/', '', $token),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3120
':lifetime' => $PW_RESET_TOKEN_LIFETIME
':lifetime' => $PW_RESET_TOKEN_LIFETIME
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3121
));
));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3122
$return = $stmt->fetch(PDO::FETCH_ASSOC);
$return = $stmt->fetch(PDO::FETCH_ASSOC);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3123
return empty($return['username']) ? false : $return['username'];
return empty($return['username']) ? false : $return['username'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3124
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3125
case 'issue':
case 'issue':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3126
$username = $data;
$username = $data;
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3127
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3128
// perform cleanup
// perform cleanup
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3129
$stmt = $pdo->prepare("DELETE FROM `reset_password` WHERE created < DATE_SUB(NOW(), INTERVAL :lifetime MINUTE);");
$stmt = $pdo->prepare("DELETE FROM `reset_password` WHERE created < DATE_SUB(NOW(), INTERVAL :lifetime MINUTE);");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3130
$stmt->execute(array(':lifetime' => $PW_RESET_TOKEN_LIFETIME));
$stmt->execute(array(':lifetime' => $PW_RESET_TOKEN_LIFETIME));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3131
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3132
if (filter_var($username, FILTER_VALIDATE_EMAIL) === false) {
if (filter_var($username, FILTER_VALIDATE_EMAIL) === false) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3133
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3134
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3135
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3136
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3137
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3138
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3139
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3140
FreddleSpl0it
almost 2 years ago
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3141
$pw_reset_notification = reset_password('get_notification', 'raw');
$pw_reset_notification = reset_password('get_notification', 'raw');
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3142
if (!$pw_reset_notification) return false;
if (!$pw_reset_notification) return false;
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3143
if (empty($pw_reset_notification['from']) || empty($pw_reset_notification['subject'])) {
if (empty($pw_reset_notification['from']) || empty($pw_reset_notification['subject'])) {
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3144
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3145
'type' => 'danger',
'type' => 'danger',
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3146
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3147
'msg' => 'password_reset_na'
'msg' => 'password_reset_na'
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3148
);
);
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3149
return false;
return false;
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3150
}
}
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3151
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3152
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
$stmt = $pdo->prepare("SELECT * FROM `mailbox`
FreddleSpl0it
almost 2 years ago
962ac39
Merge remote-tracking branch 'origin/staging' into nightly
- Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3153
WHERE `username` = :username AND authsource = 'mailcow'");
WHERE `username` = :username AND authsource = 'mailcow'");
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3154
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3155
$mailbox_data = $stmt->fetch(PDO::FETCH_ASSOC);
$mailbox_data = $stmt->fetch(PDO::FETCH_ASSOC);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3156
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3157
if (empty($mailbox_data)) {
if (empty($mailbox_data)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3158
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3159
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3160
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3161
'msg' => 'password_reset_invalid_user'
'msg' => 'password_reset_invalid_user'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3162
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3163
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3164
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3165
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3166
$mailbox_attr = json_decode($mailbox_data['attributes'], true);
$mailbox_attr = json_decode($mailbox_data['attributes'], true);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3167
if (empty($mailbox_attr['recovery_email']) || filter_var($mailbox_attr['recovery_email'], FILTER_VALIDATE_EMAIL) === false) {
if (empty($mailbox_attr['recovery_email']) || filter_var($mailbox_attr['recovery_email'], FILTER_VALIDATE_EMAIL) === false) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3168
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3169
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3170
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3171
'msg' => "password_reset_invalid_user"
'msg' => "password_reset_invalid_user"
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3172
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3173
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3174
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3175
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3176
$stmt = $pdo->prepare("SELECT * FROM `reset_password`
$stmt = $pdo->prepare("SELECT * FROM `reset_password`
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3177
WHERE `username` = :username");
WHERE `username` = :username");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3178
$stmt->execute(array(':username' => $username));
$stmt->execute(array(':username' => $username));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3179
$generated_token_count = count($stmt->fetchAll(PDO::FETCH_ASSOC));
$generated_token_count = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3180
if ($generated_token_count >= $PW_RESET_TOKEN_LIMIT) {
if ($generated_token_count >= $PW_RESET_TOKEN_LIMIT) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3181
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3182
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3183
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3184
'msg' => "reset_token_limit_exceeded"
'msg' => "reset_token_limit_exceeded"
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3185
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3186
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3187
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3188
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3189
$token = implode('-', array(
$token = implode('-', array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3190
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3191
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3192
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3193
strtoupper(bin2hex(random_bytes(3))),
strtoupper(bin2hex(random_bytes(3))),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3194
strtoupper(bin2hex(random_bytes(3)))
strtoupper(bin2hex(random_bytes(3)))
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3195
));
));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3196
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3197
$stmt = $pdo->prepare("INSERT INTO `reset_password` (`username`, `token`)
$stmt = $pdo->prepare("INSERT INTO `reset_password` (`username`, `token`)
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3198
VALUES (:username, :token)");
VALUES (:username, :token)");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3199
$stmt->execute(array(
$stmt->execute(array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3200
':username' => $username,
':username' => $username,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3201
':token' => $token
':token' => $token
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3202
));
));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3203
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3204
$reset_link = getBaseURL() . "/reset-password?token=" . $token;
$reset_link = getBaseURL() . "/reset-password?token=" . $token;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3205
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3206
$request_date = new DateTime();
$request_date = new DateTime();
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3207
$locale_date = locale_get_default();
$locale_date = locale_get_default();
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3208
$date_formatter = new IntlDateFormatter(
$date_formatter = new IntlDateFormatter(
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3209
$locale_date,
$locale_date,
same change
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3210
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3211
IntlDateFormatter::FULL
IntlDateFormatter::FULL
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3212
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3213
$formatted_request_date = $date_formatter->format($request_date);
$formatted_request_date = $date_formatter->format($request_date);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3214
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3215
// set template vars
// set template vars
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3216
// subject
// subject
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3217
$pw_reset_notification['subject'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3218
$pw_reset_notification['subject'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3219
$pw_reset_notification['subject'] = str_replace('{{username}}', $username, $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{username}}', $username, $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3220
$pw_reset_notification['subject'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3221
$pw_reset_notification['subject'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3222
$pw_reset_notification['subject'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['subject']);
$pw_reset_notification['subject'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['subject']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3223
// text
// text
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3224
$pw_reset_notification['text_tmpl'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3225
$pw_reset_notification['text_tmpl'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3226
$pw_reset_notification['text_tmpl'] = str_replace('{{username}}', $username, $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{username}}', $username, $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3227
$pw_reset_notification['text_tmpl'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3228
$pw_reset_notification['text_tmpl'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3229
$pw_reset_notification['text_tmpl'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['text_tmpl']);
$pw_reset_notification['text_tmpl'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3230
// html
// html
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3231
$pw_reset_notification['html_tmpl'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{hostname}}', $mailcow_hostname, $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3232
$pw_reset_notification['html_tmpl'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{link}}', $reset_link, $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3233
$pw_reset_notification['html_tmpl'] = str_replace('{{username}}', $username, $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{username}}', $username, $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3234
$pw_reset_notification['html_tmpl'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{username2}}', $mailbox_attr['recovery_email'], $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3235
$pw_reset_notification['html_tmpl'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{date}}', $formatted_request_date, $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3236
$pw_reset_notification['html_tmpl'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['html_tmpl']);
$pw_reset_notification['html_tmpl'] = str_replace('{{token_lifetime}}', $PW_RESET_TOKEN_LIFETIME, $pw_reset_notification['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3237
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3238
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3239
$email_sent = reset_password('send_mail', array(
$email_sent = reset_password('send_mail', array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3240
"from" => $pw_reset_notification['from'],
"from" => $pw_reset_notification['from'],
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3241
"to" => $mailbox_attr['recovery_email'],
"to" => $mailbox_attr['recovery_email'],
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3242
"subject" => $pw_reset_notification['subject'],
"subject" => $pw_reset_notification['subject'],
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3243
"text" => $pw_reset_notification['text_tmpl'],
"text" => $pw_reset_notification['text_tmpl'],
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3244
"html" => $pw_reset_notification['html_tmpl']
"html" => $pw_reset_notification['html_tmpl']
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3245
));
));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3246
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3247
if (!$email_sent){
if (!$email_sent){
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3248
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3249
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3250
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3251
'msg' => "recovery_email_failed"
'msg' => "recovery_email_failed"
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3252
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3253
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3254
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3255
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3256
list($localPart, $domainPart) = explode('@', $mailbox_attr['recovery_email']);
list($localPart, $domainPart) = explode('@', $mailbox_attr['recovery_email']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3257
if (strlen($localPart) > 1) {
if (strlen($localPart) > 1) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3258
$maskedLocalPart = $localPart[0] . str_repeat('*', strlen($localPart) - 1);
$maskedLocalPart = $localPart[0] . str_repeat('*', strlen($localPart) - 1);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3259
} else {
} else {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3260
$maskedLocalPart = "*";
$maskedLocalPart = "*";
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3261
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3262
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3263
'type' => 'success',
'type' => 'success',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3264
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3265
'msg' => array("recovery_email_sent", $maskedLocalPart . '@' . $domainPart)
'msg' => array("recovery_email_sent", $maskedLocalPart . '@' . $domainPart)
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3266
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3267
return array(
return array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3268
"username" => $username,
"username" => $username,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3269
"issue" => "success"
"issue" => "success"
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3270
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3271
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3272
case 'reset':
case 'reset':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3273
$token = $data['token'];
$token = $data['token'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3274
$new_password = $data['new_password'];
$new_password = $data['new_password'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3275
$new_password2 = $data['new_password2'];
$new_password2 = $data['new_password2'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3276
$username = $data['username'];
$username = $data['username'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3277
$check_tfa = $data['check_tfa'];
$check_tfa = $data['check_tfa'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3278
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3279
if (!$username || !$token) {
if (!$username || !$token) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3280
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3281
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3282
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3283
'msg' => 'invalid_reset_token'
'msg' => 'invalid_reset_token'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3284
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3285
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3286
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3287
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3288
# check new password
# check new password
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3289
if (!password_check($new_password, $new_password2)) {
if (!password_check($new_password, $new_password2)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3290
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3291
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3292
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3293
if ($check_tfa){
if ($check_tfa){
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3294
// check for tfa authenticators
// check for tfa authenticators
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3295
$authenticators = get_tfa($username);
$authenticators = get_tfa($username);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3296
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0) {
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3297
$_SESSION['pending_mailcow_cc_username'] = $username;
$_SESSION['pending_mailcow_cc_username'] = $username;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3298
$_SESSION['pending_pw_reset_token'] = $token;
$_SESSION['pending_pw_reset_token'] = $token;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3299
$_SESSION['pending_pw_new_password'] = $new_password;
$_SESSION['pending_pw_new_password'] = $new_password;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3300
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3301
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3302
'type' => 'info',
'type' => 'info',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3303
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3304
'msg' => 'awaiting_tfa_confirmation'
'msg' => 'awaiting_tfa_confirmation'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3305
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3306
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3307
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3308
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3309
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3310
# set new password
# set new password
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3311
$password_hashed = hash_password($new_password);
$password_hashed = hash_password($new_password);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3312
$stmt = $pdo->prepare("UPDATE `mailbox` SET
$stmt = $pdo->prepare("UPDATE `mailbox` SET
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3313
`password` = :password_hashed,
`password` = :password_hashed,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3314
`attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
`attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
FreddleSpl0it
almost 2 years ago
962ac39
Merge remote-tracking branch 'origin/staging' into nightly
- Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3315
WHERE `username` = :username AND authsource = 'mailcow'");
WHERE `username` = :username AND authsource = 'mailcow'");
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3316
$stmt->execute(array(
$stmt->execute(array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3317
':password_hashed' => $password_hashed,
':password_hashed' => $password_hashed,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3318
':username' => $username
':username' => $username
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3319
));
));
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3320
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3321
// perform cleanup
// perform cleanup
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3322
$stmt = $pdo->prepare("DELETE FROM `reset_password` WHERE `username` = :username;");
$stmt = $pdo->prepare("DELETE FROM `reset_password` WHERE `username` = :username;");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3323
$stmt->execute(array(
$stmt->execute(array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3324
':username' => $username
':username' => $username
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3325
));
));
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3326
FreddleSpl0it
over 1 year ago
b9f52df
[Web] update _sogo_static_view on password reset
- Full commit hash
b9f52df3f10e43c1fc9364ff0ef5a6008d959a40- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3327
update_sogo_static_view($username);
update_sogo_static_view($username);
same change
b9f52df
[Web] update _sogo_static_view on password reset
- Full commit hash
b9f52df3f10e43c1fc9364ff0ef5a6008d959a40- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3328
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3329
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3330
'type' => 'success',
'type' => 'success',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3331
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3332
'msg' => 'password_changed_success'
'msg' => 'password_changed_success'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3333
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3334
return true;
return true;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3335
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3336
case 'get_notification':
case 'get_notification':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3337
$type = $data;
$type = $data;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3338
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3339
try {
try {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3340
$settings['from'] = $redis->Get('PW_RESET_FROM');
$settings['from'] = $redis->Get('PW_RESET_FROM');
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3341
$settings['subject'] = $redis->Get('PW_RESET_SUBJ');
$settings['subject'] = $redis->Get('PW_RESET_SUBJ');
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3342
$settings['html_tmpl'] = $redis->Get('PW_RESET_HTML');
$settings['html_tmpl'] = $redis->Get('PW_RESET_HTML');
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3343
$settings['text_tmpl'] = $redis->Get('PW_RESET_TEXT');
$settings['text_tmpl'] = $redis->Get('PW_RESET_TEXT');
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3344
if (empty($settings['html_tmpl']) && empty($settings['text_tmpl'])) {
if (empty($settings['html_tmpl']) && empty($settings['text_tmpl'])) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3345
$settings['html_tmpl'] = file_get_contents("/tpls/pw_reset_html.tpl");
$settings['html_tmpl'] = file_get_contents("/tpls/pw_reset_html.tpl");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3346
$settings['text_tmpl'] = file_get_contents("/tpls/pw_reset_text.tpl");
$settings['text_tmpl'] = file_get_contents("/tpls/pw_reset_text.tpl");
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3347
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3348
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3349
if ($type != "raw") {
if ($type != "raw") {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3350
$settings['html_tmpl'] = htmlspecialchars($settings['html_tmpl']);
$settings['html_tmpl'] = htmlspecialchars($settings['html_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3351
$settings['text_tmpl'] = htmlspecialchars($settings['text_tmpl']);
$settings['text_tmpl'] = htmlspecialchars($settings['text_tmpl']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3352
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3353
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3354
catch (RedisException $e) {
catch (RedisException $e) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3355
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3356
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3357
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3358
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3359
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3360
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3361
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3362
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3363
return $settings;
return $settings;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3364
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3365
case 'send_mail':
case 'send_mail':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3366
$from = $data['from'];
$from = $data['from'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3367
$to = $data['to'];
$to = $data['to'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3368
$text = $data['text'];
$text = $data['text'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3369
$html = $data['html'];
$html = $data['html'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3370
$subject = $data['subject'];
$subject = $data['subject'];
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3371
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3372
if (!filter_var($from, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($from, FILTER_VALIDATE_EMAIL)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3373
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3374
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3375
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3376
'msg' => 'from_invalid'
'msg' => 'from_invalid'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3377
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3378
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3379
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3380
if (!filter_var($to, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($to, FILTER_VALIDATE_EMAIL)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3381
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3382
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3383
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3384
'msg' => 'to_invalid'
'msg' => 'to_invalid'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3385
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3386
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3387
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3388
if (empty($subject)) {
if (empty($subject)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3389
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3390
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3391
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3392
'msg' => 'subject_empty'
'msg' => 'subject_empty'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3393
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3394
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3395
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3396
if (empty($text)) {
if (empty($text)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3397
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3398
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3399
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3400
'msg' => 'text_empty'
'msg' => 'text_empty'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3401
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3402
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3403
}
}
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3404
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3405
ini_set('max_execution_time', 0);
ini_set('max_execution_time', 0);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3406
ini_set('max_input_time', 0);
ini_set('max_input_time', 0);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3407
$mail = new PHPMailer;
$mail = new PHPMailer;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3408
$mail->Timeout = 10;
$mail->Timeout = 10;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3409
$mail->SMTPOptions = array(
$mail->SMTPOptions = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3410
'ssl' => array(
'ssl' => array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3411
'verify_peer' => false,
'verify_peer' => false,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3412
'verify_peer_name' => false,
'verify_peer_name' => false,
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3413
'allow_self_signed' => true
'allow_self_signed' => true
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3414
)
)
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3415
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3416
$mail->isSMTP();
$mail->isSMTP();
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3417
$mail->Host = 'postfix-mailcow';
$mail->Host = 'postfix-mailcow';
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3418
$mail->SMTPAuth = false;
$mail->SMTPAuth = false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3419
$mail->Port = 25;
$mail->Port = 25;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3420
$mail->setFrom($from);
$mail->setFrom($from);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3421
$mail->Subject = $subject;
$mail->Subject = $subject;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3422
$mail->CharSet ="UTF-8";
$mail->CharSet ="UTF-8";
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3423
if (!empty($html)) {
if (!empty($html)) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3424
$mail->Body = $html;
$mail->Body = $html;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3425
$mail->AltBody = $text;
$mail->AltBody = $text;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3426
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3427
else {
else {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3428
$mail->Body = $text;
$mail->Body = $text;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3429
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3430
$mail->XMailer = 'MooMail';
$mail->XMailer = 'MooMail';
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3431
$mail->AddAddress($to);
$mail->AddAddress($to);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3432
if (!$mail->send()) {
if (!$mail->send()) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3433
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3434
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3435
$mail->ClearAllRecipients();
$mail->ClearAllRecipients();
FreddleSpl0it
almost 2 years ago
dbf87e9
[Web] Convert LDAP username_field and attribute_field to lowercase
- Full commit hash
dbf87e99fc11970721763a1abe92fc9a20857254- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3436
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3437
return true;
return true;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3438
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3439
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3440
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3441
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3442
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3443
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3444
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3445
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3446
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3447
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3448
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3449
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3450
switch ($action) {
switch ($action) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3451
case 'edit_notification':
case 'edit_notification':
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3452
$subject = $data['subject'];
$subject = $data['subject'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3453
$from = preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $data['from']);
$from = preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $data['from']);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3454
FreddleSpl0it
almost 2 years ago
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3455
$from = (!filter_var($from, FILTER_VALIDATE_EMAIL)) ? "" : $from;
$from = (!filter_var($from, FILTER_VALIDATE_EMAIL)) ? "" : $from;
same change
c37bf0b
[Web] improve error handling for user password resets
- Full commit hash
c37bf0bb32aa58266d75ca84ac8f8f36f93d0939- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3456
$subject = (empty($subject)) ? "" : $subject;
$subject = (empty($subject)) ? "" : $subject;
FreddleSpl0it
almost 2 years ago
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3457
$text = (empty($data['text_tmpl'])) ? "" : $data['text_tmpl'];
$text = (empty($data['text_tmpl'])) ? "" : $data['text_tmpl'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3458
$html = (empty($data['html_tmpl'])) ? "" : $data['html_tmpl'];
$html = (empty($data['html_tmpl'])) ? "" : $data['html_tmpl'];
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3459
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3460
try {
try {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3461
$redis->Set('PW_RESET_FROM', $from);
$redis->Set('PW_RESET_FROM', $from);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3462
$redis->Set('PW_RESET_SUBJ', $subject);
$redis->Set('PW_RESET_SUBJ', $subject);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3463
$redis->Set('PW_RESET_HTML', $html);
$redis->Set('PW_RESET_HTML', $html);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3464
$redis->Set('PW_RESET_TEXT', $text);
$redis->Set('PW_RESET_TEXT', $text);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3465
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3466
catch (RedisException $e) {
catch (RedisException $e) {
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3467
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3468
'type' => 'danger',
'type' => 'danger',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3469
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3470
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3471
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3472
return false;
return false;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3473
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3474
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3475
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3476
'type' => 'success',
'type' => 'success',
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3477
'log' => array(__FUNCTION__, $action, $_data_log),
'log' => array(__FUNCTION__, $action, $_data_log),
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3478
'msg' => 'saved_settings'
'msg' => 'saved_settings'
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3479
);
);
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3480
break;
break;
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3481
}
}
same change
2208d7e
[Web] add function to reset user passwords
- Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3482
}
}
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3483
function clear_session(){
function clear_session(){
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3484
session_regenerate_id(true);
session_regenerate_id(true);
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3485
session_unset();
session_unset();
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3486
session_destroy();
session_destroy();
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3487
session_write_close();
session_write_close();
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3488
}
}
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3489
function set_user_loggedin_session($user) {
function set_user_loggedin_session($user) {
FreddleSpl0it
over 1 year ago
9d791d0
Merge branch 'staging' into nightly
- Full commit hash
9d791d0c4f15d77de900a1496274afc20b4c9131- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3490
session_regenerate_id(true);
session_regenerate_id(true);
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3491
$_SESSION['mailcow_cc_username'] = $user;
$_SESSION['mailcow_cc_username'] = $user;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3492
$_SESSION['mailcow_cc_role'] = 'user';
$_SESSION['mailcow_cc_role'] = 'user';
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3493
$sogo_sso_pass = file_get_contents("/etc/sogo-sso/sogo-sso.pass");
$sogo_sso_pass = file_get_contents("/etc/sogo-sso/sogo-sso.pass");
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3494
$_SESSION['sogo-sso-user-allowed'][] = $user;
$_SESSION['sogo-sso-user-allowed'][] = $user;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3495
$_SESSION['sogo-sso-pass'] = $sogo_sso_pass;
$_SESSION['sogo-sso-pass'] = $sogo_sso_pass;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3496
unset($_SESSION['pending_mailcow_cc_username']);
unset($_SESSION['pending_mailcow_cc_username']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3497
unset($_SESSION['pending_mailcow_cc_role']);
unset($_SESSION['pending_mailcow_cc_role']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3498
unset($_SESSION['pending_tfa_methods']);
unset($_SESSION['pending_tfa_methods']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 3499
}
}
FreddleSpl0it
5 months ago
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3500
function protect_route($allowed_roles = ['admin', 'domainadmin', 'user'], $redirects = []) {
function protect_route($allowed_roles = ['admin', 'domainadmin', 'user'], $redirects = []) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3501
// Check if user is authenticated
// Check if user is authenticated
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3502
if (!isset($_SESSION['mailcow_cc_role'])) {
if (!isset($_SESSION['mailcow_cc_role'])) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3503
if (isset($redirects['unauthenticated'])) {
if (isset($redirects['unauthenticated'])) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3504
header('Location: ' . $redirects['unauthenticated']);
header('Location: ' . $redirects['unauthenticated']);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3505
} else {
} else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3506
header('Location: /');
header('Location: /');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3507
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3508
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3509
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3510
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3511
// Check for pending actions (2FA setup, password update)
// Check for pending actions (2FA setup, password update)
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3512
if (!empty($_SESSION['pending_tfa_setup']) || !empty($_SESSION['pending_pw_update'])) {
if (!empty($_SESSION['pending_tfa_setup']) || !empty($_SESSION['pending_pw_update'])) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3513
$pending_redirect = '/';
$pending_redirect = '/';
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3514
if ($_SESSION['mailcow_cc_role'] === 'admin') {
if ($_SESSION['mailcow_cc_role'] === 'admin') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3515
$pending_redirect = '/admin';
$pending_redirect = '/admin';
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3516
} elseif ($_SESSION['mailcow_cc_role'] === 'domainadmin') {
} elseif ($_SESSION['mailcow_cc_role'] === 'domainadmin') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3517
$pending_redirect = '/domainadmin';
$pending_redirect = '/domainadmin';
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3518
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3519
header('Location: ' . $pending_redirect);
header('Location: ' . $pending_redirect);
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3520
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3521
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3522
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3523
// Check if user's role is in the allowed roles for the route
// Check if user's role is in the allowed roles for the route
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3524
if (!in_array($_SESSION['mailcow_cc_role'], $allowed_roles)) {
if (!in_array($_SESSION['mailcow_cc_role'], $allowed_roles)) {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3525
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'admin') {
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'admin') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3526
header('Location: /admin/dashboard');
header('Location: /admin/dashboard');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3527
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3528
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3529
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'domainadmin') {
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'domainadmin') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3530
header('Location: /domainadmin/mailbox');
header('Location: /domainadmin/mailbox');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3531
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3532
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3533
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'user') {
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'user') {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3534
header('Location: /user');
header('Location: /user');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3535
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3536
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3537
else {
else {
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3538
header('Location: /');
header('Location: /');
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3539
exit();
exit();
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3540
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3541
}
}
same change
ad5b94a
[Web] Add forced 2FA setup and password update enforcement
- Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 3542
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3543
function get_logs($application, $lines = false) {
function get_logs($application, $lines = false) {
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3544
if ($lines === false) {
if ($lines === false) {
Miro Rauhala
about 6 years ago
6bff958
[Web] Clean PHP code by removing unused variables (#3646)
- Full commit hash
6bff958ab4381f27aba5464bce80290015d4458a- Author
- Miro Rauhala <[email protected]>
- Date
- about 6 years ago
- Selected line
- 3545
$lines = $GLOBALS['LOG_LINES'] - 1;
$lines = $GLOBALS['LOG_LINES'] - 1;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3546
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3547
elseif(is_numeric($lines) && $lines >= 1) {
elseif(is_numeric($lines) && $lines >= 1) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3548
$lines = abs(intval($lines) - 1);
$lines = abs(intval($lines) - 1);
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3549
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3550
else {
else {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3551
list ($from, $to) = explode('-', $lines);
list ($from, $to) = explode('-', $lines);
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3552
$from = intval($from);
$from = intval($from);
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3553
$to = intval($to);
$to = intval($to);
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3554
if ($from < 1 || $to < $from) { return false; }
if ($from < 1 || $to < $from) { return false; }
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3555
}
}
andryyy
almost 5 years ago
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3556
global $redis;
global $redis;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3557
global $pdo;
global $pdo;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3558
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3559
return false;
return false;
same change
cf8fdae
[Web] Some minor fixes and improvements for PHP 8
- Full commit hash
cf8fdae2773e96b7b1753c38f011d77cd2f25448- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3560
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3561
// SQL
// SQL
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3562
if ($application == "mailcow-ui") {
if ($application == "mailcow-ui") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3563
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3564
$stmt = $pdo->prepare("SELECT * FROM `logs` ORDER BY `id` DESC LIMIT :from, :to");
$stmt = $pdo->prepare("SELECT * FROM `logs` ORDER BY `id` DESC LIMIT :from, :to");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3565
$stmt->execute(array(
$stmt->execute(array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3566
':from' => $from - 1,
':from' => $from - 1,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3567
':to' => $to
':to' => $to
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3568
));
));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3569
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3570
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3571
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3572
$stmt = $pdo->prepare("SELECT * FROM `logs` ORDER BY `id` DESC LIMIT :lines");
$stmt = $pdo->prepare("SELECT * FROM `logs` ORDER BY `id` DESC LIMIT :lines");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3573
$stmt->execute(array(
$stmt->execute(array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3574
':lines' => $lines + 1,
':lines' => $lines + 1,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3575
));
));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3576
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3577
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3578
if (is_array($data)) {
if (is_array($data)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3579
return $data;
return $data;
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3580
}
}
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3581
}
}
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3582
if ($application == "sasl") {
if ($application == "sasl") {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3583
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
andryyy
about 5 years ago
78084c5
[Web] Log only latest datetime of a unique datetime, service and ip combination
- Full commit hash
78084c5e7b7b0282a895603604c929e41f313888- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3584
$stmt = $pdo->prepare("SELECT * FROM `sasl_log` ORDER BY `datetime` DESC LIMIT :from, :to");
$stmt = $pdo->prepare("SELECT * FROM `sasl_log` ORDER BY `datetime` DESC LIMIT :from, :to");
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3585
$stmt->execute(array(
$stmt->execute(array(
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3586
':from' => $from - 1,
':from' => $from - 1,
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3587
':to' => $to
':to' => $to
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3588
));
));
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3589
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3590
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3591
else {
else {
andryyy
about 5 years ago
78084c5
[Web] Log only latest datetime of a unique datetime, service and ip combination
- Full commit hash
78084c5e7b7b0282a895603604c929e41f313888- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3592
$stmt = $pdo->prepare("SELECT * FROM `sasl_log` ORDER BY `datetime` DESC LIMIT :lines");
$stmt = $pdo->prepare("SELECT * FROM `sasl_log` ORDER BY `datetime` DESC LIMIT :lines");
andryyy
about 5 years ago
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3593
$stmt->execute(array(
$stmt->execute(array(
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3594
':lines' => $lines + 1,
':lines' => $lines + 1,
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3595
));
));
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3596
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
$data = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3597
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3598
if (is_array($data)) {
if (is_array($data)) {
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3599
return $data;
return $data;
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3600
}
}
same change
2d55b54
[Web] Show users the last known connections for SASL authentication
- Full commit hash
2d55b54904c5111180910e95620445a931f26710- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 3601
}
}
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3602
// Redis
// Redis
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3603
if ($application == "dovecot-mailcow") {
if ($application == "dovecot-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3604
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3605
$data = $redis->lRange('DOVECOT_MAILLOG', $from - 1, $to - 1);
$data = $redis->lRange('DOVECOT_MAILLOG', $from - 1, $to - 1);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3606
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3607
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3608
$data = $redis->lRange('DOVECOT_MAILLOG', 0, $lines);
$data = $redis->lRange('DOVECOT_MAILLOG', 0, $lines);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3609
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3610
if ($data) {
if ($data) {
FreddleSpl0it
about 3 years ago
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3611
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3612
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3613
}
}
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3614
return $data_array;
return $data_array;
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3615
}
}
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3616
}
}
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3617
if ($application == "cron-mailcow") {
if ($application == "cron-mailcow") {
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3618
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3619
$data = $redis->lRange('CRON_LOG', $from - 1, $to - 1);
$data = $redis->lRange('CRON_LOG', $from - 1, $to - 1);
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3620
}
}
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3621
else {
else {
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3622
$data = $redis->lRange('CRON_LOG', 0, $lines);
$data = $redis->lRange('CRON_LOG', 0, $lines);
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3623
}
}
same change
b176585
[Web] add crontasks logs
- Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3624
if ($data) {
if ($data) {
andryyy
about 9 years ago
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3625
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3626
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3627
}
}
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3628
return $data_array;
return $data_array;
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3629
}
}
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3630
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3631
if ($application == "postfix-mailcow") {
if ($application == "postfix-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3632
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3633
$data = $redis->lRange('POSTFIX_MAILLOG', $from - 1, $to - 1);
$data = $redis->lRange('POSTFIX_MAILLOG', $from - 1, $to - 1);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3634
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3635
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3636
$data = $redis->lRange('POSTFIX_MAILLOG', 0, $lines);
$data = $redis->lRange('POSTFIX_MAILLOG', 0, $lines);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3637
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3638
if ($data) {
if ($data) {
andryyy
about 9 years ago
3b80a1a
Change admin layout, add Postfix logs
- Full commit hash
3b80a1af371d9b614ffc9a3bd1926a5447d44c5d- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3639
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
3b80a1a
Change admin layout, add Postfix logs
- Full commit hash
3b80a1af371d9b614ffc9a3bd1926a5447d44c5d- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3640
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
3b80a1a
Change admin layout, add Postfix logs
- Full commit hash
3b80a1af371d9b614ffc9a3bd1926a5447d44c5d- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3641
}
}
same change
3b80a1a
Change admin layout, add Postfix logs
- Full commit hash
3b80a1af371d9b614ffc9a3bd1926a5447d44c5d- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3642
return $data_array;
return $data_array;
andryyy
about 9 years ago
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3643
}
}
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3644
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3645
if ($application == "sogo-mailcow") {
if ($application == "sogo-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3646
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3647
$data = $redis->lRange('SOGO_LOG', $from - 1, $to - 1);
$data = $redis->lRange('SOGO_LOG', $from - 1, $to - 1);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3648
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3649
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3650
$data = $redis->lRange('SOGO_LOG', 0, $lines);
$data = $redis->lRange('SOGO_LOG', 0, $lines);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3651
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3652
if ($data) {
if ($data) {
andryyy
about 9 years ago
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3653
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3654
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3655
}
}
same change
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3656
return $data_array;
return $data_array;
same change
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3657
}
}
same change
c75ce51
Fixes: First line was missing in logs. Adds support for Fail2ban container
- Full commit hash
c75ce5124cf32145bf4ea4e68a4dff7b98ee4a92- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3658
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3659
if ($application == "watchdog-mailcow") {
if ($application == "watchdog-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3660
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3661
$data = $redis->lRange('WATCHDOG_LOG', $from - 1, $to - 1);
$data = $redis->lRange('WATCHDOG_LOG', $from - 1, $to - 1);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3662
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3663
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3664
$data = $redis->lRange('WATCHDOG_LOG', 0, $lines);
$data = $redis->lRange('WATCHDOG_LOG', 0, $lines);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3665
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3666
if ($data) {
if ($data) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3667
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3668
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3669
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3670
return $data_array;
return $data_array;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3671
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3672
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3673
if ($application == "acme-mailcow") {
if ($application == "acme-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3674
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3675
$data = $redis->lRange('ACME_LOG', $from - 1, $to - 1);
$data = $redis->lRange('ACME_LOG', $from - 1, $to - 1);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3676
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3677
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3678
$data = $redis->lRange('ACME_LOG', 0, $lines);
$data = $redis->lRange('ACME_LOG', 0, $lines);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3679
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3680
if ($data) {
if ($data) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3681
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3682
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3683
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3684
return $data_array;
return $data_array;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3685
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3686
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3687
if ($application == "ratelimited") {
if ($application == "ratelimited") {
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3688
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3689
$data = $redis->lRange('RL_LOG', $from - 1, $to - 1);
$data = $redis->lRange('RL_LOG', $from - 1, $to - 1);
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3690
}
}
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3691
else {
else {
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3692
$data = $redis->lRange('RL_LOG', 0, $lines);
$data = $redis->lRange('RL_LOG', 0, $lines);
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3693
}
}
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3694
if ($data) {
if ($data) {
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3695
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3696
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3697
}
}
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3698
return $data_array;
return $data_array;
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3699
}
}
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3700
}
}
same change
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3701
if ($application == "api-mailcow") {
if ($application == "api-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3702
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3703
$data = $redis->lRange('API_LOG', $from - 1, $to - 1);
$data = $redis->lRange('API_LOG', $from - 1, $to - 1);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3704
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3705
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3706
$data = $redis->lRange('API_LOG', 0, $lines);
$data = $redis->lRange('API_LOG', 0, $lines);
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3707
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3708
if ($data) {
if ($data) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3709
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3710
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3711
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3712
return $data_array;
return $data_array;
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3713
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3714
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3715
if ($application == "netfilter-mailcow") {
if ($application == "netfilter-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3716
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3717
$data = $redis->lRange('NETFILTER_LOG', $from - 1, $to - 1);
$data = $redis->lRange('NETFILTER_LOG', $from - 1, $to - 1);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3718
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3719
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3720
$data = $redis->lRange('NETFILTER_LOG', 0, $lines);
$data = $redis->lRange('NETFILTER_LOG', 0, $lines);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3721
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3722
if ($data) {
if ($data) {
andryyy
about 9 years ago
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3723
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3724
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3725
}
}
same change
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3726
return $data_array;
return $data_array;
same change
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3727
}
}
same change
2291b4e
Added SOGo logs
- Full commit hash
2291b4e1215a0c541eb975c7f8b43df719753bbe- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3728
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3729
if ($application == "autodiscover-mailcow") {
if ($application == "autodiscover-mailcow") {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3730
if (isset($from) && isset($to)) {
if (isset($from) && isset($to)) {
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3731
$data = $redis->lRange('AUTODISCOVER_LOG', $from - 1, $to - 1);
$data = $redis->lRange('AUTODISCOVER_LOG', $from - 1, $to - 1);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3732
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3733
else {
else {
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3734
$data = $redis->lRange('AUTODISCOVER_LOG', 0, $lines);
$data = $redis->lRange('AUTODISCOVER_LOG', 0, $lines);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3735
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3736
if ($data) {
if ($data) {
andryyy
almost 9 years ago
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3737
foreach ($data as $json_line) {
foreach ($data as $json_line) {
same change
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3738
$data_array[] = json_decode($json_line, true);
$data_array[] = json_decode($json_line, true);
same change
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3739
}
}
same change
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3740
return $data_array;
return $data_array;
same change
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3741
}
}
same change
9c37cd7
[Web] Autodiscover logs
- Full commit hash
9c37cd76e5d11eb7150d4afbdf39db1bc461a468- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3742
}
}
andryyy
over 7 years ago
5b5976b
[Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket
- Full commit hash
5b5976ba230b6c31ed8811062446deb660d99eef- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3743
if ($application == "rspamd-history") {
if ($application == "rspamd-history") {
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3744
$curl = curl_init();
$curl = curl_init();
André
almost 8 years ago
4396be2
[Rspamd] Place socket in _rspamd home and fix permissions
- Full commit hash
4396be2938a7bc7571033d093fb9f81c453f4b1c- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3745
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3746
if (!is_numeric($lines)) {
if (!is_numeric($lines)) {
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3747
list ($from, $to) = explode('-', $lines);
list ($from, $to) = explode('-', $lines);
André Peters
over 8 years ago
77c7c1f
[Web] Fix css; Use socket for Rspamd history; Fix function file name
- Full commit hash
77c7c1fe07c94fad2b4edec008532d10553ac435- Author
- André Peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3748
curl_setopt($curl, CURLOPT_URL,"http://rspamd/history?from=" . intval($from) . "&to=" . intval($to));
curl_setopt($curl, CURLOPT_URL,"http://rspamd/history?from=" . intval($from) . "&to=" . intval($to));
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3749
}
}
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3750
else {
else {
André Peters
over 8 years ago
77c7c1f
[Web] Fix css; Use socket for Rspamd history; Fix function file name
- Full commit hash
77c7c1fe07c94fad2b4edec008532d10553ac435- Author
- André Peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3751
curl_setopt($curl, CURLOPT_URL,"http://rspamd/history?to=" . intval($lines));
curl_setopt($curl, CURLOPT_URL,"http://rspamd/history?to=" . intval($lines));
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3752
}
}
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3753
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3754
$history = curl_exec($curl);
$history = curl_exec($curl);
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3755
if (!curl_errno($curl)) {
if (!curl_errno($curl)) {
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3756
$data_array = json_decode($history, true);
$data_array = json_decode($history, true);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3757
curl_close($curl);
curl_close($curl);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3758
return $data_array['rows'];
return $data_array['rows'];
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3759
}
}
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3760
curl_close($curl);
curl_close($curl);
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3761
return false;
return false;
same change
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3762
}
}
andryyy
almost 6 years ago
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3763
if ($application == "rspamd-stats") {
if ($application == "rspamd-stats") {
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3764
$curl = curl_init();
$curl = curl_init();
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3765
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3766
curl_setopt($curl, CURLOPT_URL,"http://rspamd/stat");
curl_setopt($curl, CURLOPT_URL,"http://rspamd/stat");
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3767
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3768
$stats = curl_exec($curl);
$stats = curl_exec($curl);
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3769
if (!curl_errno($curl)) {
if (!curl_errno($curl)) {
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3770
$data_array = json_decode($stats, true);
$data_array = json_decode($stats, true);
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3771
curl_close($curl);
curl_close($curl);
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3772
return $data_array;
return $data_array;
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3773
}
}
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3774
curl_close($curl);
curl_close($curl);
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3775
return false;
return false;
same change
f3c7283
[Web] Add rspamd-stats route to API
- Full commit hash
f3c72832f285643989583b22a3ff4e2a6fdc4e2f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 3776
}
}
andryyy
about 9 years ago
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3777
return false;
return false;
same change
8c8bfc0
Add Json log parser for Dovecot and Postfix containers
- Full commit hash
8c8bfc01085935a88a0388debf9d834b34549bb8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3778
}
}
andryyy
over 7 years ago
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3779
function getGUID() {
function getGUID() {
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3780
if (function_exists('com_create_guid')) {
if (function_exists('com_create_guid')) {
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3781
return com_create_guid();
return com_create_guid();
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3782
}
}
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3783
mt_srand((double)microtime()*10000);//optional for php 4.2.0 and up.
mt_srand((double)microtime()*10000);//optional for php 4.2.0 and up.
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3784
$charid = strtoupper(md5(uniqid(rand(), true)));
$charid = strtoupper(md5(uniqid(rand(), true)));
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3785
$hyphen = chr(45);// "-"
$hyphen = chr(45);// "-"
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3786
return substr($charid, 0, 8).$hyphen
return substr($charid, 0, 8).$hyphen
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3787
.substr($charid, 8, 4).$hyphen
.substr($charid, 8, 4).$hyphen
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3788
.substr($charid,12, 4).$hyphen
.substr($charid,12, 4).$hyphen
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3789
.substr($charid,16, 4).$hyphen
.substr($charid,16, 4).$hyphen
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3790
.substr($charid,20,12);
.substr($charid,20,12);
same change
ca9c610
[Web] Apple mobileconfig enhancements by @feldsam
- Full commit hash
ca9c610460d9538a65ddf77c77fc89c50cf8cc40- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 3791
}
}
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3792
same change
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3793
function cleanupJS($ignore = '', $folder = '/tmp/*.js') {
function cleanupJS($ignore = '', $folder = '/tmp/*.js') {
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3794
$now = time();
$now = time();
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3795
foreach (glob($folder) as $filename) {
foreach (glob($folder) as $filename) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3796
if(strpos($filename, $ignore) !== false) {
if(strpos($filename, $ignore) !== false) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3797
continue;
continue;
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3798
}
}
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3799
if (is_file($filename)) {
if (is_file($filename)) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3800
if ($now - filemtime($filename) >= 60 * 60) {
if ($now - filemtime($filename) >= 60 * 60) {
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3801
unlink($filename);
unlink($filename);
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3802
}
}
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3803
}
}
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3804
}
}
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3805
}
}
same change
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3806
same change
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3807
function cleanupCSS($ignore = '', $folder = '/tmp/*.css') {
function cleanupCSS($ignore = '', $folder = '/tmp/*.css') {
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3808
$now = time();
$now = time();
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3809
foreach (glob($folder) as $filename) {
foreach (glob($folder) as $filename) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3810
if(strpos($filename, $ignore) !== false) {
if(strpos($filename, $ignore) !== false) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3811
continue;
continue;
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3812
}
}
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3813
if (is_file($filename)) {
if (is_file($filename)) {
same change
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3814
if ($now - filemtime($filename) >= 60 * 60) {
if ($now - filemtime($filename) >= 60 * 60) {
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3815
unlink($filename);
unlink($filename);
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3816
}
}
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3817
}
}
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3818
}
}
tinect
almost 7 years ago
74244c7
cleanup cached js and css
- Full commit hash
74244c7d0adf3f6ab8fdd37c7fabe5a3e933a861- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 3819
}
}
andryyy
over 6 years ago
3e2cbac
[Rspamd] 2.5 RC3
- Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3820
André Peters
almost 5 years ago
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3821
?>
?>