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.auth.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.auth.inc.php
on main
Author
Date
Commit
Line
Code
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 1
<?php
<?php
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 2
function check_login($user, $pass, $extra = null) {
function check_login($user, $pass, $extra = null) {
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 3
global $pdo;
global $pdo;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 4
global $redis;
global $redis;
FreddleSpl0it
almost 2 years ago
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 5
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 6
$is_internal = $extra['is_internal'];
$is_internal = $extra['is_internal'];
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
- 7
$role = $extra['role'];
$role = $extra['role'];
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 8
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 9
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 10
// Try validate admin
// Try validate admin
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
- 11
if (!isset($role) || $role == "admin") {
if (!isset($role) || $role == "admin") {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 12
$result = admin_login($user, $pass);
$result = admin_login($user, $pass);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 13
if ($result !== false){
if ($result !== false){
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 14
return $result;
return $result;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 15
}
}
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
- 16
}
}
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 17
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 18
// Try validate domain admin
// Try validate domain admin
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
- 19
if (!isset($role) || $role == "domain_admin") {
if (!isset($role) || $role == "domain_admin") {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 20
$result = domainadmin_login($user, $pass);
$result = domainadmin_login($user, $pass);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 21
if ($result !== false) {
if ($result !== false) {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 22
return $result;
return $result;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 23
}
}
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
- 24
}
}
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 25
FreddleSpl0it
over 1 year ago
62f816e
[Web] Check app password before user password on web login
- Full commit hash
62f816e64a964a0eb3c9243595b6ffedff897cc6- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 26
same change
62f816e
[Web] Check app password before user password on web login
- Full commit hash
62f816e64a964a0eb3c9243595b6ffedff897cc6- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 27
// Try validate app password
// Try validate app password
same change
62f816e
[Web] Check app password before user password on web login
- Full commit hash
62f816e64a964a0eb3c9243595b6ffedff897cc6- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 28
if (!isset($role) || $role == "app") {
if (!isset($role) || $role == "app") {
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 29
$result = apppass_login($user, $pass, $extra);
$result = apppass_login($user, $pass, $extra);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 30
if ($result !== false) {
if ($result !== false) {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 31
$real_rip = ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR']);
$real_rip = ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR']);
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 32
set_sasl_log($user, $real_rip, $extra['service'], $pass);
set_sasl_log($user, $real_rip, $extra['service'], $pass);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 33
return $result;
return $result;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 34
}
}
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
- 35
}
}
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 36
FreddleSpl0it
over 1 year ago
62f816e
[Web] Check app password before user password on web login
- Full commit hash
62f816e64a964a0eb3c9243595b6ffedff897cc6- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 37
// Try validate user
// Try validate user
same change
62f816e
[Web] Check app password before user password on web login
- Full commit hash
62f816e64a964a0eb3c9243595b6ffedff897cc6- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 38
if (!isset($role) || $role == "user") {
if (!isset($role) || $role == "user") {
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 39
$result = user_login($user, $pass, $extra);
$result = user_login($user, $pass, $extra);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 40
if ($result !== false) {
if ($result !== false) {
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 41
$real_rip = ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR']);
$real_rip = ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR']);
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 42
set_sasl_log($user, $real_rip, $extra['service']);
set_sasl_log($user, $real_rip, $extra['service']);
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 43
return $result;
return $result;
same change
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 44
}
}
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
- 45
}
}
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 46
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
- 47
// skip log and only return false if it's an internal request
// skip log and only return false if it's an internal request
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 48
if ($is_internal == true) return false;
if ($is_internal == true) return false;
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 49
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 50
if (!isset($_SESSION['ldelay'])) {
if (!isset($_SESSION['ldelay'])) {
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 51
$_SESSION['ldelay'] = "0";
$_SESSION['ldelay'] = "0";
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 52
$redis->publish("F2B_CHANNEL", "mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
$redis->publish("F2B_CHANNEL", "mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 53
error_log("mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
error_log("mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 54
}
}
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 55
elseif (!isset($_SESSION['mailcow_cc_username'])) {
elseif (!isset($_SESSION['mailcow_cc_username'])) {
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 56
$_SESSION['ldelay'] = $_SESSION['ldelay']+0.5;
$_SESSION['ldelay'] = $_SESSION['ldelay']+0.5;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 57
$redis->publish("F2B_CHANNEL", "mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
$redis->publish("F2B_CHANNEL", "mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 58
error_log("mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
error_log("mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 59
}
}
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 60
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 61
'type' => 'danger',
'type' => 'danger',
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 62
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 63
'msg' => 'login_failed'
'msg' => 'login_failed'
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 64
);
);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 65
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 66
sleep($_SESSION['ldelay']);
sleep($_SESSION['ldelay']);
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 67
return false;
return false;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 68
}
}
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 69
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 70
function admin_login($user, $pass){
function admin_login($user, $pass){
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 71
global $pdo;
global $pdo;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 72
FreddleSpl0it
almost 3 years ago
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 73
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 74
if (!$is_internal){
if (!$is_internal){
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 75
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 76
'type' => 'danger',
'type' => 'danger',
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 77
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 78
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 79
);
);
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 80
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 81
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 82
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 83
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 84
$user = strtolower(trim($user));
$user = strtolower(trim($user));
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
- 85
$stmt = $pdo->prepare("SELECT `password`, `attributes` FROM `admin`
$stmt = $pdo->prepare("SELECT `password`, `attributes` FROM `admin`
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 86
WHERE `superadmin` = '1'
WHERE `superadmin` = '1'
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 87
AND `active` = '1'
AND `active` = '1'
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 88
AND `username` = :user");
AND `username` = :user");
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 89
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 90
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 91
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 92
// verify password
// verify password
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 93
if (verify_hash($row['password'], $pass)) {
if (verify_hash($row['password'], $pass)) {
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
- 94
$admin_attrs = json_decode($row['attributes'], true) ?? [];
$admin_attrs = json_decode($row['attributes'], 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
- 95
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
- 96
// Check force_pw_update
// Check force_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
- 97
if (intval($admin_attrs['force_pw_update'] ?? 0) == 1) {
if (intval($admin_attrs['force_pw_update'] ?? 0) == 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
- 98
$_SESSION['pending_pw_update'] = true;
$_SESSION['pending_pw_update'] = 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
- 99
}
}
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
- 100
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 101
// check for tfa authenticators
// check for tfa authenticators
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 102
$authenticators = get_tfa($user);
$authenticators = get_tfa($user);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 103
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
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 104
// active tfa authenticators found, set pending user login
// active tfa authenticators found, set pending user login
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 105
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_mailcow_cc_username'] = $user;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 106
$_SESSION['pending_mailcow_cc_role'] = "admin";
$_SESSION['pending_mailcow_cc_role'] = "admin";
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 107
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 108
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 109
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 110
'type' => 'info',
'type' => 'info',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 111
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 112
'msg' => 'awaiting_tfa_confirmation'
'msg' => 'awaiting_tfa_confirmation'
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 113
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 114
return "pending";
return "pending";
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 115
} else {
} else {
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 116
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 117
// Reactivate TFA if it was set to "deactivate TFA for next login"
// Reactivate TFA if it was set to "deactivate TFA for next login"
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 118
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 119
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
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
- 120
// Check force_tfa: only force setup if NO TFA exists at all
// Check force_tfa: only force setup if NO TFA exists at all
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
- 121
if (intval($admin_attrs['force_tfa'] ?? 0) == 1 && !tfa_exists($user)) {
if (intval($admin_attrs['force_tfa'] ?? 0) == 1 && !tfa_exists($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
- 122
$_SESSION['pending_tfa_setup'] = true;
$_SESSION['pending_tfa_setup'] = 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
- 123
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 124
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 125
'type' => 'success',
'type' => 'success',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 126
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 127
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 128
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 129
return "admin";
return "admin";
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 130
}
}
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 131
}
}
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 132
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 133
return false;
return false;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 134
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 135
function domainadmin_login($user, $pass){
function domainadmin_login($user, $pass){
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 136
global $pdo;
global $pdo;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 137
FreddleSpl0it
almost 3 years ago
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 138
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 139
if (!$is_internal){
if (!$is_internal){
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 140
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 141
'type' => 'danger',
'type' => 'danger',
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 142
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 143
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 144
);
);
same change
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 145
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 146
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 147
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 148
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
- 149
$stmt = $pdo->prepare("SELECT `password`, `attributes` FROM `admin`
$stmt = $pdo->prepare("SELECT `password`, `attributes` FROM `admin`
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 150
WHERE `superadmin` = '0'
WHERE `superadmin` = '0'
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 151
AND `active`='1'
AND `active`='1'
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 152
AND `username` = :user");
AND `username` = :user");
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 153
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 154
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 155
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 156
// verify password
// verify password
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 157
if (verify_hash($row['password'], $pass) !== false) {
if (verify_hash($row['password'], $pass) !== false) {
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
- 158
$admin_attrs = json_decode($row['attributes'], true) ?? [];
$admin_attrs = json_decode($row['attributes'], 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
- 159
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
- 160
// Check force_pw_update
// Check force_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
- 161
if (intval($admin_attrs['force_pw_update'] ?? 0) == 1) {
if (intval($admin_attrs['force_pw_update'] ?? 0) == 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
- 162
$_SESSION['pending_pw_update'] = true;
$_SESSION['pending_pw_update'] = 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
- 163
}
}
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
- 164
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 165
// check for tfa authenticators
// check for tfa authenticators
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 166
$authenticators = get_tfa($user);
$authenticators = get_tfa($user);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 167
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
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 168
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_mailcow_cc_username'] = $user;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 169
$_SESSION['pending_mailcow_cc_role'] = "domainadmin";
$_SESSION['pending_mailcow_cc_role'] = "domainadmin";
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 170
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 171
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 172
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 173
'type' => 'info',
'type' => 'info',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 174
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 175
'msg' => 'awaiting_tfa_confirmation'
'msg' => 'awaiting_tfa_confirmation'
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 176
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 177
return "pending";
return "pending";
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 178
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 179
else {
else {
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 180
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 181
// Reactivate TFA if it was set to "deactivate TFA for next login"
// Reactivate TFA if it was set to "deactivate TFA for next login"
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 182
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 183
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
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
- 184
// Check force_tfa: only force setup if NO TFA exists at all
// Check force_tfa: only force setup if NO TFA exists at all
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
- 185
if (intval($admin_attrs['force_tfa'] ?? 0) == 1 && !tfa_exists($user)) {
if (intval($admin_attrs['force_tfa'] ?? 0) == 1 && !tfa_exists($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
- 186
$_SESSION['pending_tfa_setup'] = true;
$_SESSION['pending_tfa_setup'] = 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
- 187
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 188
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 189
'type' => 'success',
'type' => 'success',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 190
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 191
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 192
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 193
return "domainadmin";
return "domainadmin";
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 194
}
}
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 195
}
}
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 196
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 197
return false;
return false;
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 198
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 199
function user_login($user, $pass, $extra = null){
function user_login($user, $pass, $extra = null){
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 200
global $pdo;
global $pdo;
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
- 201
global $iam_provider;
global $iam_provider;
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
- 202
global $iam_settings;
global $iam_settings;
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 203
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 204
$is_internal = $extra['is_internal'];
$is_internal = $extra['is_internal'];
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 205
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 206
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 207
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 208
if (!$is_internal){
if (!$is_internal){
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 209
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 210
'type' => 'danger',
'type' => 'danger',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 211
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 212
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 213
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 214
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 215
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 216
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 217
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
- 218
$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
- 219
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
- 220
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
- 221
FROM `mailbox`
FROM `mailbox`
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 222
INNER JOIN domain on mailbox.domain = domain.domain
INNER JOIN domain on mailbox.domain = domain.domain
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 223
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 224
AND `username` = :user");
AND `username` = :user");
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 225
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 226
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 227
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
- 228
// user does not exist, try call idp login and create user if possible via rest flow
// user does not exist, try call idp login and create user if possible via rest flow
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 229
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
- 230
$result = false;
$result = false;
FreddleSpl0it
almost 3 years ago
3a4c0c8
fix keycloak mailpassword flow
- Full commit hash
3a4c0c84a3e79058750f0786f5fddc42a29e576b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 231
if ($iam_settings['authsource'] == 'keycloak' && intval($iam_settings['mailpassword_flow']) == 1){
if ($iam_settings['authsource'] == 'keycloak' && intval($iam_settings['mailpassword_flow']) == 1){
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
- 232
$result = keycloak_mbox_login_rest($user, $pass, array('is_internal' => $is_internal, 'create' => true));
$result = keycloak_mbox_login_rest($user, $pass, array('is_internal' => $is_internal, 'create' => 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
- 233
} else if ($iam_settings['authsource'] == 'ldap') {
} else if ($iam_settings['authsource'] == '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
- 234
$result = ldap_mbox_login($user, $pass, array('is_internal' => $is_internal, 'create' => true));
$result = ldap_mbox_login($user, $pass, array('is_internal' => $is_internal, 'create' => true));
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 235
}
}
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
- 236
if ($result !== false){
if ($result !== 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
- 237
// double check if mailbox is active
// double check if mailbox 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
- 238
$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
- 239
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
- 240
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
- 241
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
- 242
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
- 243
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
- 244
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $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
- 245
$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
- 246
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
- 247
if (!empty($row)) {
if (!empty($row)) {
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 248
// check if user has access to service (imap, smtp, pop3, sieve, dav, eas) if service is set
// check if user has access to service (imap, smtp, pop3, sieve, dav, eas) if service is set
FreddleSpl0it
11 months ago
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 249
$row['attributes'] = json_decode($row['attributes'], true);
$row['attributes'] = json_decode($row['attributes'], true);
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 250
if ($extra['service'] != 'NONE') {
if ($extra['service'] != 'NONE') {
same change
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 251
$key = strtolower($extra['service']) . "_access";
$key = strtolower($extra['service']) . "_access";
FreddleSpl0it
11 months ago
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 252
if (isset($row['attributes'][$key]) && $row['attributes'][$key] != '1') {
if (isset($row['attributes'][$key]) && $row['attributes'][$key] != '1') {
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 253
return false;
return false;
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 254
}
}
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 255
}
}
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
- 256
return true;
return true;
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
- 257
}
}
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
- 258
}
}
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
- 259
clear_session();
clear_session();
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 260
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 261
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 262
FreddleSpl0it
11 months ago
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 263
// check if user has access to service (imap, smtp, pop3, sieve) if service is set
// check if user has access to service (imap, smtp, pop3, sieve) if service is set
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
- 264
$row['attributes'] = json_decode($row['attributes'], true);
$row['attributes'] = json_decode($row['attributes'], true);
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 265
if ($extra['service'] != 'NONE') {
if ($extra['service'] != 'NONE') {
same change
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 266
$key = strtolower($extra['service']) . "_access";
$key = strtolower($extra['service']) . "_access";
FreddleSpl0it
11 months ago
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 267
if (isset($row['attributes'][$key]) && $row['attributes'][$key] != '1') {
if (isset($row['attributes'][$key]) && $row['attributes'][$key] != '1') {
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 268
return false;
return false;
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 269
}
}
same change
13f7f98
Prevent user login if protocol access has been disabled
- Full commit hash
13f7f9830b056e1a1fe8aee51884323cb5bcebae- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 270
}
}
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
- 271
switch ($row['authsource']) {
switch ($row['authsource']) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 272
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
- 273
// user authsource is keycloak, try using via rest flow
// user authsource is keycloak, try using via rest flow
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 274
if (intval($iam_settings['mailpassword_flow']) == 1){
if (intval($iam_settings['mailpassword_flow']) == 1){
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
- 275
$result = keycloak_mbox_login_rest($user, $pass, array('is_internal' => $is_internal));
$result = keycloak_mbox_login_rest($user, $pass, array('is_internal' => $is_internal));
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
- 276
if ($result !== false) {
if ($result !== false) {
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
- 277
// 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
- 278
$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
- 279
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
- 280
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
- 281
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
- 282
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
- 283
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
- 284
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $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
- 285
$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
- 286
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
- 287
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
- 288
}
}
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
- 289
FreddleSpl0it
4 months ago
d1feebf
[Web] Fix LDAP/Keycloak login TypeError - missing JSON decode for attributes
- Full commit hash
d1feebf164015a7c62ffdbbe9555424a1b07d402- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 290
$row['attributes'] = json_decode($row['attributes'], true);
$row['attributes'] = json_decode($row['attributes'], true);
same change
d1feebf
[Web] Fix LDAP/Keycloak login TypeError - missing JSON decode for attributes
- Full commit hash
d1feebf164015a7c62ffdbbe9555424a1b07d402- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 291
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
- 292
// check for tfa authenticators
// check for tfa authenticators
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 293
$authenticators = get_tfa($user);
$authenticators = get_tfa($user);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 294
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 295
// authenticators found, init TFA flow
// authenticators found, init TFA flow
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 296
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_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
- 297
$_SESSION['pending_mailcow_cc_role'] = "user";
$_SESSION['pending_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
- 298
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 299
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 300
$_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
- 301
'type' => 'success',
'type' => 'success',
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
- 302
'log' => array(__FUNCTION__, $user, '*', 'Provider: Keycloak'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: Keycloak'),
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
- 303
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 304
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 305
return "pending";
return "pending";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 306
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 307
// no authenticators found, login successfull
// no authenticators found, login successfull
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 308
if (!$is_internal){
if (!$is_internal){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 309
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 310
// Reactivate TFA if it was set to "deactivate TFA for next login"
// Reactivate TFA if it was set to "deactivate TFA for next login"
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 311
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 312
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
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
- 313
// Check force_tfa: only force setup if NO TFA exists at all
// Check force_tfa: only force setup if NO TFA exists at all
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
- 314
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($user)) {
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($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
- 315
$_SESSION['pending_tfa_setup'] = true;
$_SESSION['pending_tfa_setup'] = 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
- 316
}
}
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
- 317
$_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
- 318
'type' => 'success',
'type' => 'success',
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
- 319
'log' => array(__FUNCTION__, $user, '*', 'Provider: Keycloak'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: Keycloak'),
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
- 320
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 321
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 322
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 323
return "user";
return "user";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 324
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 325
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 326
return $result;
return $result;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 327
} else {
} else {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 328
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
- 329
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 330
break;
break;
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 331
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
- 332
// user authsource is ldap
// user authsource is 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
- 333
$result = ldap_mbox_login($user, $pass, array('is_internal' => $is_internal));
$result = ldap_mbox_login($user, $pass, array('is_internal' => $is_internal));
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
- 334
if ($result !== false) {
if ($result !== false) {
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
- 335
// 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
- 336
$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
- 337
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
- 338
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
- 339
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
- 340
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
- 341
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
- 342
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $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
- 343
$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
- 344
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
- 345
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
- 346
}
}
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
- 347
FreddleSpl0it
4 months ago
d1feebf
[Web] Fix LDAP/Keycloak login TypeError - missing JSON decode for attributes
- Full commit hash
d1feebf164015a7c62ffdbbe9555424a1b07d402- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 348
$row['attributes'] = json_decode($row['attributes'], true);
$row['attributes'] = json_decode($row['attributes'], true);
same change
d1feebf
[Web] Fix LDAP/Keycloak login TypeError - missing JSON decode for attributes
- Full commit hash
d1feebf164015a7c62ffdbbe9555424a1b07d402- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 349
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
- 350
// check for tfa authenticators
// check for tfa authenticators
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 351
$authenticators = get_tfa($user);
$authenticators = get_tfa($user);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 352
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 353
// authenticators found, init TFA flow
// authenticators found, init TFA flow
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 354
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_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
- 355
$_SESSION['pending_mailcow_cc_role'] = "user";
$_SESSION['pending_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
- 356
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 357
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 358
$_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
- 359
'type' => 'success',
'type' => 'success',
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
- 360
'log' => array(__FUNCTION__, $user, '*', 'Provider: LDAP'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: LDAP'),
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
- 361
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 362
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 363
return "pending";
return "pending";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 364
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 365
// no authenticators found, login successfull
// no authenticators found, login successfull
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 366
if (!$is_internal){
if (!$is_internal){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 367
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 368
// Reactivate TFA if it was set to "deactivate TFA for next login"
// Reactivate TFA if it was set to "deactivate TFA for next login"
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 369
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 370
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
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
- 371
// Check force_tfa: only force setup if NO TFA exists at all
// Check force_tfa: only force setup if NO TFA exists at all
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
- 372
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($user)) {
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($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
- 373
$_SESSION['pending_tfa_setup'] = true;
$_SESSION['pending_tfa_setup'] = 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
- 374
}
}
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
- 375
$_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
- 376
'type' => 'success',
'type' => 'success',
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
- 377
'log' => array(__FUNCTION__, $user, '*', 'Provider: LDAP'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: LDAP'),
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
- 378
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 379
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 380
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 381
return "user";
return "user";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 382
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 383
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 384
return $result;
return $result;
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
- 385
break;
break;
FreddleSpl0it
over 1 year ago
82eb3c6
[Web] Use SQL password only when authsource is mailcow
- Full commit hash
82eb3c64cd6c1eea94f450b22bf0de3e29f7eaa1- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 386
case 'mailcow':
case 'mailcow':
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
- 387
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
- 388
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
- 389
}
}
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
- 390
// verify password
// verify password
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 391
if (verify_hash($row['password'], $pass) !== false) {
if (verify_hash($row['password'], $pass) !== false) {
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
- 392
same change
cb47fa4
[Web] Fix force password update at next login
- Full commit hash
cb47fa406f10ce929543e3e918c11b985a500ab2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 393
if (intval($row['attributes']['force_pw_update']) == 1) {
if (intval($row['attributes']['force_pw_update']) == 1) {
same change
cb47fa4
[Web] Fix force password update at next login
- Full commit hash
cb47fa406f10ce929543e3e918c11b985a500ab2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 394
$_SESSION['pending_pw_update'] = true;
$_SESSION['pending_pw_update'] = true;
same change
cb47fa4
[Web] Fix force password update at next login
- Full commit hash
cb47fa406f10ce929543e3e918c11b985a500ab2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 395
}
}
same change
cb47fa4
[Web] Fix force password update at next login
- Full commit hash
cb47fa406f10ce929543e3e918c11b985a500ab2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 396
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
- 397
// check for tfa authenticators
// check for tfa authenticators
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 398
$authenticators = get_tfa($user);
$authenticators = get_tfa($user);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 399
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0 && !$is_internal) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 400
// authenticators found, init TFA flow
// authenticators found, init TFA flow
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 401
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_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
- 402
$_SESSION['pending_mailcow_cc_role'] = "user";
$_SESSION['pending_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
- 403
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 404
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 405
$_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
- 406
'type' => 'success',
'type' => 'success',
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
- 407
'log' => array(__FUNCTION__, $user, '*', 'Provider: mailcow'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: mailcow'),
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
- 408
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 409
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 410
return "pending";
return "pending";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 411
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
} else if (!isset($authenticators['additional']) || !is_array($authenticators['additional']) || count($authenticators['additional']) == 0) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 412
// no authenticators found, login successfull
// no authenticators found, login successfull
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 413
if (!$is_internal){
if (!$is_internal){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 414
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 415
// Reactivate TFA if it was set to "deactivate TFA for next login"
// Reactivate TFA if it was set to "deactivate TFA for next login"
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 416
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
$stmt = $pdo->prepare("UPDATE `tfa` SET `active`='1' WHERE `username` = :user");
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 417
$stmt->execute(array(':user' => $user));
$stmt->execute(array(':user' => $user));
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
- 418
// Check force_tfa: only force setup if NO TFA exists at all
// Check force_tfa: only force setup if NO TFA exists at all
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
- 419
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($user)) {
if (intval($row['attributes']['force_tfa']) == 1 && !tfa_exists($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
- 420
$_SESSION['pending_tfa_setup'] = true;
$_SESSION['pending_tfa_setup'] = 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
- 421
}
}
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
- 422
$_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
- 423
'type' => 'success',
'type' => 'success',
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
- 424
'log' => array(__FUNCTION__, $user, '*', 'Provider: mailcow'),
'log' => array(__FUNCTION__, $user, '*', 'Provider: mailcow'),
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
- 425
'msg' => array('logged_in_as', $user)
'msg' => array('logged_in_as', $user)
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 426
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 427
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 428
return "user";
return "user";
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 429
}
}
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 430
}
}
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
- 431
break;
break;
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 432
}
}
FreddleSpl0it
almost 2 years ago
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 433
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 434
return false;
return false;
same change
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 435
}
}
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 436
function apppass_login($user, $pass, $extra = null){
function apppass_login($user, $pass, $extra = null){
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 437
global $pdo;
global $pdo;
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 438
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 439
$is_internal = $extra['is_internal'];
$is_internal = $extra['is_internal'];
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 440
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 441
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 442
if (!$is_internal){
if (!$is_internal){
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 443
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 444
'type' => 'danger',
'type' => 'danger',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 445
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 446
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 447
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 448
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 449
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 450
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 451
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 452
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
$extra['service'] = !isset($extra['service']) ? 'NONE' : $extra['service'];
same change
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 453
if (!$is_internal && $extra['service'] == 'NONE') {
if (!$is_internal && $extra['service'] == 'NONE') {
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
- 454
return false;
return false;
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 455
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 456
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 457
// fetch app password data
// fetch app password data
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 458
$stmt = $pdo->prepare("SELECT `app_passwd`.*, `app_passwd`.`password` as `password`, `app_passwd`.`id` as `app_passwd_id` FROM `app_passwd`
$stmt = $pdo->prepare("SELECT `app_passwd`.*, `app_passwd`.`password` as `password`, `app_passwd`.`id` as `app_passwd_id` FROM `app_passwd`
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 459
INNER JOIN `mailbox` ON `mailbox`.`username` = `app_passwd`.`mailbox`
INNER JOIN `mailbox` ON `mailbox`.`username` = `app_passwd`.`mailbox`
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 460
INNER JOIN `domain` ON `mailbox`.`domain` = `domain`.`domain`
INNER JOIN `domain` ON `mailbox`.`domain` = `domain`.`domain`
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 461
WHERE `mailbox`.`kind` NOT REGEXP 'location|thing|group'
WHERE `mailbox`.`kind` NOT REGEXP 'location|thing|group'
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 462
AND `mailbox`.`active` = '1'
AND `mailbox`.`active` = '1'
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 463
AND `domain`.`active` = '1'
AND `domain`.`active` = '1'
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 464
AND `app_passwd`.`active` = '1'
AND `app_passwd`.`active` = '1'
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 465
AND `app_passwd`.`mailbox` = :user"
AND `app_passwd`.`mailbox` = :user"
FreddleSpl0it
about 3 years ago
ad19ff5
[Web] remove ropc flow
- Full commit hash
ad19ff5429a44c7162d8b5d14c4624e0d75373bd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 466
);
);
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 467
// fetch password data
// fetch password data
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 468
$stmt->execute(array(
$stmt->execute(array(
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 469
':user' => $user,
':user' => $user,
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 470
));
));
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 471
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
FreddleSpl0it
almost 2 years ago
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 472
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 473
foreach ($rows as $row) {
foreach ($rows as $row) {
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 474
if ($extra['service'] != 'NONE' && $row[strtolower($extra['service']) . '_access'] != '1'){
if ($extra['service'] != 'NONE' && $row[strtolower($extra['service']) . '_access'] != '1'){
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 475
continue;
continue;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 476
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 477
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 478
// verify password
// verify password
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 479
if (verify_hash($row['password'], $pass) !== false) {
if (verify_hash($row['password'], $pass) !== false) {
FreddleSpl0it
over 1 year ago
805634f
Fix sasl_logs
- Full commit hash
805634f9a94529a2c611100aed22f5c0b2d11b34- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 480
$_SESSION['app_passwd_id'] = $row['app_passwd_id'];
$_SESSION['app_passwd_id'] = $row['app_passwd_id'];
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 481
unset($_SESSION['ldelay']);
unset($_SESSION['ldelay']);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 482
return "user";
return "user";
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 483
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 484
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 485
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 486
return false;
return false;
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 487
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 488
// Keycloak REST Api Flow - auth user by mailcow_password attribute
// Keycloak REST Api Flow - auth user by mailcow_password attribute
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 489
// This password will be used for direct UI, IMAP and SMTP Auth
// This password will be used for direct UI, IMAP and SMTP Auth
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 490
// To use direct user credentials, only Authorization Code Flow is valid
// To use direct user credentials, only Authorization Code Flow is valid
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
- 491
function keycloak_mbox_login_rest($user, $pass, $extra = null){
function keycloak_mbox_login_rest($user, $pass, $extra = null){
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 492
global $pdo;
global $pdo;
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
- 493
global $iam_provider;
global $iam_provider;
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
- 494
global $iam_settings;
global $iam_settings;
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 495
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 496
$is_internal = $extra['is_internal'];
$is_internal = $extra['is_internal'];
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 497
$create = $extra['create'];
$create = $extra['create'];
FreddleSpl0it
almost 3 years ago
9beb47c
[Web] fix malformed_username check
- Full commit hash
9beb47c0676962440d94b2bedac6a6f5bc8c5f8e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 498
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 499
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 500
if (!$is_internal){
if (!$is_internal){
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 501
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 502
'type' => 'danger',
'type' => 'danger',
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 503
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 504
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 505
);
);
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 506
}
}
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 507
return false;
return false;
same change
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 508
}
}
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
- 509
if (!$iam_provider) {
if (!$iam_provider) {
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
- 510
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
- 511
}
}
FreddleSpl0it
almost 3 years ago
7b47159
rework auth - move dovecot sasl log to php
- Full commit hash
7b4715947889b051fba6464e8c5470fbc04122ab- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 512
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 513
// get access_token for service account of mailcow client
// get access_token for service account of mailcow client
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 514
$admin_token = identity_provider("get-keycloak-admin-token");
$admin_token = identity_provider("get-keycloak-admin-token");
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 515
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 516
// get the mailcow_password attribute from keycloak user
// get the mailcow_password attribute from keycloak user
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
- 517
$url = "{$iam_settings['server_url']}/admin/realms/{$iam_settings['realm']}/users";
$url = "{$iam_settings['server_url']}/admin/realms/{$iam_settings['realm']}/users";
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 518
$queryParams = array('email' => $user, 'exact' => true);
$queryParams = array('email' => $user, 'exact' => true);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 519
$queryString = http_build_query($queryParams);
$queryString = http_build_query($queryParams);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 520
$curl = curl_init();
$curl = curl_init();
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
- 521
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 522
curl_setopt($curl, CURLOPT_URL, $url . '?' . $queryString);
curl_setopt($curl, CURLOPT_URL, $url . '?' . $queryString);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 523
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 524
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 525
'Authorization: Bearer ' . $admin_token,
'Authorization: Bearer ' . $admin_token,
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 526
'Content-Type: application/json'
'Content-Type: application/json'
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 527
));
));
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 528
$user_res = json_decode(curl_exec($curl), true)[0];
$user_res = json_decode(curl_exec($curl), true)[0];
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 529
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 530
curl_close($curl);
curl_close($curl);
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 531
if ($code != 200) {
if ($code != 200) {
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
- 532
$_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
- 533
'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
- 534
'log' => array(__FUNCTION__, $user, '*', 'Identity Provider returned HTTP ' . $code),
'log' => array(__FUNCTION__, $user, '*', 'Identity Provider returned HTTP ' . $code),
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
- 535
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 536
);
);
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 537
return false;
return false;
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 538
}
}
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
- 539
if (!isset($user_res['attributes']['mailcow_password']) || !is_array($user_res['attributes']['mailcow_password'])){
if (!isset($user_res['attributes']['mailcow_password']) || !is_array($user_res['attributes']['mailcow_password'])){
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
- 540
$_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
- 541
'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
- 542
'log' => array(__FUNCTION__, $user, '*', 'User has no mailcow_password attribute'),
'log' => array(__FUNCTION__, $user, '*', 'User has no mailcow_password attribute'),
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
- 543
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 544
);
);
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
- 545
return false;
return false;
same change
6df6638
[Web] add curl timeouts to oidc requests
- Full commit hash
6df663825aaecdb05b2dcda3d27882f1397eee85- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 546
}
}
same change
6df6638
[Web] add curl timeouts to oidc requests
- Full commit hash
6df663825aaecdb05b2dcda3d27882f1397eee85- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 547
if (empty($user_res['attributes']['mailcow_password'][0])){
if (empty($user_res['attributes']['mailcow_password'][0])){
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
- 548
$_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
- 549
'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
- 550
'log' => array(__FUNCTION__, $user, '*', "User's mailcow_password attribute is empty"),
'log' => array(__FUNCTION__, $user, '*', "User's mailcow_password attribute is empty"),
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
- 551
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 552
);
);
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
- 553
return false;
return false;
same change
6df6638
[Web] add curl timeouts to oidc requests
- Full commit hash
6df663825aaecdb05b2dcda3d27882f1397eee85- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 554
}
}
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 555
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 556
// validate mailcow_password
// validate mailcow_password
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 557
$mailcow_password = $user_res['attributes']['mailcow_password'][0];
$mailcow_password = $user_res['attributes']['mailcow_password'][0];
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 558
if (!verify_hash($mailcow_password, $pass)) {
if (!verify_hash($mailcow_password, $pass)) {
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 559
return false;
return false;
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 560
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 561
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
- 562
// get mapped template
// get mapped template
FreddleSpl0it
almost 3 years ago
3a4c0c8
fix keycloak mailpassword flow
- Full commit hash
3a4c0c84a3e79058750f0786f5fddc42a29e576b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 563
$user_template = $user_res['attributes']['mailcow_template'][0];
$user_template = $user_res['attributes']['mailcow_template'][0];
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
- 564
$mapper_key = array_search($user_template, $iam_settings['mappers']);
$mapper_key = array_search($user_template, $iam_settings['mappers']);
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 565
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 566
if (!$create) {
if (!$create) {
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 567
// login success
// login success
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 568
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
- 569
// 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
- 570
$_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
- 571
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
- 572
'username' => $user,
'username' => $user,
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 573
'name' => $user_res['name'],
'name' => $user_res['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
- 574
'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
- 575
));
));
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
- 576
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
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
- 577
}
}
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 578
return 'user';
return 'user';
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 579
}
}
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 580
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
- 581
// check if login provisioning is enabled before creating user
// check if login provisioning is enabled before creating user
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
- 582
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
- 583
if (!$is_internal){
if (!$is_internal){
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
- 584
$_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
- 585
'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
- 586
'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
- 587
'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
- 588
);
);
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
- 589
}
}
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
- 590
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
- 591
}
}
FreddleSpl0it
about 3 years ago
4dc3222
[Web] fix bug on mailbox login
- Full commit hash
4dc3222f03e8bf366dcc730c34b9db4cf1ab2cef- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 592
// check if matching attribute exist
// check if matching attribute exist
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
- 593
if (empty($iam_settings['mappers']) || !$user_template || $mapper_key === false) {
if (empty($iam_settings['mappers']) || !$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
- 594
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
- 595
$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
- 596
} 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
- 597
$_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
- 598
'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
- 599
'log' => array(__FUNCTION__, $user, '*', 'No matching attribute mapping was found'),
'log' => array(__FUNCTION__, $user, '*', '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
- 600
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 601
);
);
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
- 602
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
- 603
}
}
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
- 604
} 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
- 605
$mbox_template = $iam_settings['templates'][$mapper_key];
$mbox_template = $iam_settings['templates'][$mapper_key];
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
- 606
}
}
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 607
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 608
// 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
- 609
$_SESSION['access_all_exception'] = '1';
$_SESSION['access_all_exception'] = '1';
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 610
$create_res = mailbox('add', 'mailbox_from_template', array(
$create_res = mailbox('add', 'mailbox_from_template', array(
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 611
'domain' => explode('@', $user)[1],
'domain' => explode('@', $user)[1],
same change
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 612
'local_part' => explode('@', $user)[0],
'local_part' => explode('@', $user)[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
- 613
'name' => $user_res['name'],
'name' => $user_res['name'],
FreddleSpl0it
about 3 years ago
cc75166
[Web] functions.auth.inc.php corrections
- Full commit hash
cc7516685f4dfddabf39c7c96c5c72ed1a7558d0- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 614
'authsource' => 'keycloak',
'authsource' => 'keycloak',
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
- 615
'template' => $mbox_template
'template' => $mbox_template
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 616
));
));
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
- 617
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
FreddleSpl0it
over 1 year ago
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 618
if (!$create_res){
if (!$create_res){
same change
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 619
clear_session();
clear_session();
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
- 620
$_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
- 621
'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
- 622
'log' => array(__FUNCTION__, $user, '*', 'Could not create mailbox on login'),
'log' => array(__FUNCTION__, $user, '*', '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
- 623
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 624
);
);
FreddleSpl0it
over 1 year ago
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 625
return false;
return false;
same change
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 626
}
}
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 627
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
- 628
return 'user';
return 'user';
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 629
}
}
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
- 630
function ldap_mbox_login($user, $pass, $extra = null){
function ldap_mbox_login($user, $pass, $extra = 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
- 631
global $pdo;
global $pdo;
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
- 632
global $iam_provider;
global $iam_provider;
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
- 633
global $iam_settings;
global $iam_settings;
FreddleSpl0it
almost 2 years ago
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 634
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
- 635
$is_internal = $extra['is_internal'];
$is_internal = $extra['is_internal'];
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 636
$create = $extra['create'];
$create = $extra['create'];
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 637
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 638
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
if (!filter_var($user, FILTER_VALIDATE_EMAIL) && !ctype_alnum(str_replace(array('_', '.', '-'), '', $user))) {
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 639
if (!$is_internal){
if (!$is_internal){
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 640
$_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
- 641
'type' => 'danger',
'type' => 'danger',
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 642
'log' => array(__FUNCTION__, $user, '*'),
'log' => array(__FUNCTION__, $user, '*'),
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 643
'msg' => 'malformed_username'
'msg' => 'malformed_username'
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 644
);
);
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 645
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 646
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
- 647
}
}
FreddleSpl0it
almost 2 years ago
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 648
if (!$iam_provider) {
if (!$iam_provider) {
same change
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 649
return false;
return false;
same change
f9304dc
[Web] check if $iam_provider is null on ldap_mbox_login
- Full commit hash
f9304dcd9befcbcae3c1ffdbd4c9cfecad722f2b- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 650
}
}
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
- 651
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 652
try {
try {
FreddleSpl0it
over 2 years ago
010d898
[Web] apply LDAP filter
- Full commit hash
010d898786b78327240bb2f2608e973a65c5f859- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 653
$ldap_query = $iam_provider->query();
$ldap_query = $iam_provider->query();
FreddleSpl0it
over 2 years ago
d22cafa
[Web] fix ldap filter if empty
- Full commit hash
d22cafacc86ab9ebe4a3e9f20924fc1a27c84332- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 654
if (!empty($iam_settings['filter'])) {
if (!empty($iam_settings['filter'])) {
FreddleSpl0it
over 2 years ago
010d898
[Web] apply LDAP filter
- Full commit hash
010d898786b78327240bb2f2608e973a65c5f859- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 655
$ldap_query = $ldap_query->rawFilter($iam_settings['filter']);
$ldap_query = $ldap_query->rawFilter($iam_settings['filter']);
FreddleSpl0it
over 2 years ago
d22cafa
[Web] fix ldap filter if empty
- Full commit hash
d22cafacc86ab9ebe4a3e9f20924fc1a27c84332- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 656
}
}
FreddleSpl0it
over 2 years ago
010d898
[Web] apply LDAP filter
- Full commit hash
010d898786b78327240bb2f2608e973a65c5f859- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 657
$ldap_query = $ldap_query->where($iam_settings['username_field'], '=', $user)
$ldap_query = $ldap_query->where($iam_settings['username_field'], '=', $user)
FreddleSpl0it
almost 2 years ago
fa3c453
Use DN instead of DistinguishedName for LDAP login
- Full commit hash
fa3c453d6eed90acc6e86d1600802494f9e5dd87- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 658
->select([$iam_settings['username_field'], $iam_settings['attribute_field'], 'displayname', 'distinguishedname', 'dn']);
->select([$iam_settings['username_field'], $iam_settings['attribute_field'], 'displayname', 'distinguishedname', 'dn']);
FreddleSpl0it
over 2 years ago
d22cafa
[Web] fix ldap filter if empty
- Full commit hash
d22cafacc86ab9ebe4a3e9f20924fc1a27c84332- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 659
same change
d22cafa
[Web] fix ldap filter if empty
- Full commit hash
d22cafacc86ab9ebe4a3e9f20924fc1a27c84332- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 660
$user_res = $ldap_query->firstOrFail();
$user_res = $ldap_query->firstOrFail();
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
- 661
} catch (Exception $e) {
} catch (Exception $e) {
FreddleSpl0it
almost 2 years ago
519d95c
[Web] extend ldap auth logging
- Full commit hash
519d95cb8b4b5437a63f3a69f27ffbba2c7fd5b2- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 662
// clear $_SESSION['return'] to not leak data
// clear $_SESSION['return'] to not leak data
same change
519d95c
[Web] extend ldap auth logging
- Full commit hash
519d95cb8b4b5437a63f3a69f27ffbba2c7fd5b2- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 663
$_SESSION['return'] = array();
$_SESSION['return'] = array();
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 664
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 665
'type' => 'danger',
'type' => 'danger',
FreddleSpl0it
almost 2 years ago
fa3c453
Use DN instead of DistinguishedName for LDAP login
- Full commit hash
fa3c453d6eed90acc6e86d1600802494f9e5dd87- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 666
'log' => array(__FUNCTION__, $user, '*', $e->getMessage()),
'log' => array(__FUNCTION__, $user, '*', $e->getMessage()),
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
- 667
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 668
);
);
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
- 669
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
- 670
}
}
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 671
try {
try {
FreddleSpl0it
almost 2 years ago
fa3c453
Use DN instead of DistinguishedName for LDAP login
- Full commit hash
fa3c453d6eed90acc6e86d1600802494f9e5dd87- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 672
if (!$iam_provider->auth()->attempt($user_res['dn'], $pass)) {
if (!$iam_provider->auth()->attempt($user_res['dn'], $pass)) {
same change
fa3c453
Use DN instead of DistinguishedName for LDAP login
- Full commit hash
fa3c453d6eed90acc6e86d1600802494f9e5dd87- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 673
return false;
return false;
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 674
}
}
same change
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 675
} catch (Exception $e) {
} catch (Exception $e) {
FreddleSpl0it
almost 2 years ago
519d95c
[Web] extend ldap auth logging
- Full commit hash
519d95cb8b4b5437a63f3a69f27ffbba2c7fd5b2- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 676
// clear $_SESSION['return'] to not leak data
// clear $_SESSION['return'] to not leak data
same change
519d95c
[Web] extend ldap auth logging
- Full commit hash
519d95cb8b4b5437a63f3a69f27ffbba2c7fd5b2- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 677
$_SESSION['return'] = array();
$_SESSION['return'] = array();
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 678
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 679
'type' => 'danger',
'type' => 'danger',
FreddleSpl0it
almost 2 years ago
fa3c453
Use DN instead of DistinguishedName for LDAP login
- Full commit hash
fa3c453d6eed90acc6e86d1600802494f9e5dd87- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 680
'log' => array(__FUNCTION__, $user, '*', $e->getMessage()),
'log' => array(__FUNCTION__, $user, '*', $e->getMessage()),
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
- 681
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
FreddleSpl0it
almost 2 years ago
092d3cd
[Web] extend ldap auth logging
- Full commit hash
092d3cd80b64e1f4a4ff46508b4deac8f0eea9c9- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 682
);
);
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
- 683
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
- 684
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 685
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
- 686
// get mapped template
// get mapped 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
- 687
$user_template = $user_res[$iam_settings['attribute_field']][0];
$user_template = $user_res[$iam_settings['attribute_field']][0];
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
- 688
$mapper_key = array_search($user_template, $iam_settings['mappers']);
$mapper_key = array_search($user_template, $iam_settings['mappers']);
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 689
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 690
if (!$create) {
if (!$create) {
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 691
// login success
// login success
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 692
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
- 693
// 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
- 694
$_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
- 695
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
- 696
'username' => $user,
'username' => $user,
same change
f36184d
[Web] update mailbox on idp login
- Full commit hash
f36184df64eb6481c23a9fc11fd06569c62d118c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 697
'name' => $user_res['displayname'][0],
'name' => $user_res['displayname'][0],
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
- 698
'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
- 699
));
));
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
- 700
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
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
- 701
}
}
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
- 702
return 'user';
return 'user';
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 703
}
}
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 704
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
- 705
// check if login provisioning is enabled before creating user
// check if login provisioning is enabled before creating user
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
- 706
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
- 707
if (!$is_internal){
if (!$is_internal){
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
- 708
$_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
- 709
'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
- 710
'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
- 711
'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
- 712
);
);
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
- 713
}
}
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
- 714
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
- 715
}
}
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
- 716
// check if matching attribute exist
// check if matching attribute exist
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
- 717
if (empty($iam_settings['mappers']) || !$user_template || $mapper_key === false) {
if (empty($iam_settings['mappers']) || !$user_template || $mapper_key === false) {
Kai Biebel
about 1 year ago
cb6ffe6
fix: typo in default_template
- Full commit hash
cb6ffe65c8fb0ec4b96abfd45c352f89a52bf40b- Author
- Kai Biebel <[email protected]>
- Date
- about 1 year ago
- Selected line
- 718
if (!empty($iam_settings['default_template'])) {
if (!empty($iam_settings['default_template'])) {
same change
cb6ffe6
fix: typo in default_template
- Full commit hash
cb6ffe65c8fb0ec4b96abfd45c352f89a52bf40b- Author
- Kai Biebel <[email protected]>
- Date
- about 1 year ago
- Selected line
- 719
$mbox_template = $iam_settings['default_template'];
$mbox_template = $iam_settings['default_template'];
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
- 720
} 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
- 721
$_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
- 722
'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
- 723
'log' => array(__FUNCTION__, $user, '*', 'No matching attribute mapping was found'),
'log' => array(__FUNCTION__, $user, '*', '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
- 724
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 725
);
);
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
- 726
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
- 727
}
}
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
- 728
} 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
- 729
$mbox_template = $iam_settings['templates'][$mapper_key];
$mbox_template = $iam_settings['templates'][$mapper_key];
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
- 730
}
}
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
- 731
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 732
// 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
- 733
$_SESSION['access_all_exception'] = '1';
$_SESSION['access_all_exception'] = '1';
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
- 734
$create_res = mailbox('add', 'mailbox_from_template', array(
$create_res = mailbox('add', 'mailbox_from_template', array(
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 735
'domain' => explode('@', $user)[1],
'domain' => explode('@', $user)[1],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 736
'local_part' => explode('@', $user)[0],
'local_part' => explode('@', $user)[0],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 737
'name' => $user_res['displayname'][0],
'name' => $user_res['displayname'][0],
same change
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 738
'authsource' => 'ldap',
'authsource' => 'ldap',
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
- 739
'template' => $mbox_template
'template' => $mbox_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
- 740
));
));
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
- 741
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
FreddleSpl0it
over 1 year ago
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 742
if (!$create_res){
if (!$create_res){
same change
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 743
clear_session();
clear_session();
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
- 744
$_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
- 745
'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
- 746
'log' => array(__FUNCTION__, $user, '*', 'Could not create mailbox on login'),
'log' => array(__FUNCTION__, $user, '*', '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
- 747
'msg' => 'generic_server_error'
'msg' => 'generic_server_error'
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
- 748
);
);
FreddleSpl0it
over 1 year ago
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 749
return false;
return false;
same change
1d6513f
[Web] fix idp login alerts and updates
- Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 750
}
}
FreddleSpl0it
over 3 years ago
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 751
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 752
return 'user';
return 'user';
same change
d4ae616
replace ropc flow with keycloak rest api flow
- Full commit hash
d4ae61646020eb23b5a7fdcca6e5ca80d21a6bf8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 753
}
}