mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Make loginbox custom color selection independent of custom color
This commit is contained in:
parent
4d8164bb77
commit
78ec00bad1
@ -129,7 +129,7 @@ class pixelegg_framework extends Api\Framework\Ajax
|
||||
$loginbox_color = $color_darker;
|
||||
}
|
||||
|
||||
if (preg_match('/^(#[0-9A-F]+|[A-Z]+)$/i',$color)) // a little xss check
|
||||
if (preg_match('/^(#[0-9A-F]+|[A-Z]+)$/i',$color) || preg_match('/^(#[0-9A-F]+|[A-Z]+)$/i',$loginbox_color)) // a little xss check
|
||||
{
|
||||
if (!Api\Header\UserAgent::mobile())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user