Skip to content

Commit

Permalink
Allow for jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jan 27, 2025
1 parent 991815a commit c304ee1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected Object getPreAuthenticatedPrincipal(HttpServletRequest request) {
boolean valid = Stream.of(uid, schacHomeOrganization, email, givenName, familyName).allMatch(StringUtils::hasText);
if (!valid) {
//this is the contract. See AbstractPreAuthenticatedProcessingFilter#doAuthenticate
LOG.warn(String.format("Missing required attribute(s): uid %s, schacHomeOrganization %s, givenName %s, familyName %s, email %s",
LOG.warn(String.format("Missing required attribute(s): uid '%s', schacHomeOrganization '%s', givenName '%s', familyName '%s', email '%s'",
uid, schacHomeOrganization, givenName, familyName, email));
return null;
}
Expand Down
1 change: 1 addition & 0 deletions servicedesk-gui/docker/conf/000-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RewriteEngine on
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.(js|css)(\.map)?$
RewriteCond %{REQUEST_URI} !\.svg$
RewriteCond %{REQUEST_URI} !\.jpg$
RewriteCond %{REQUEST_URI} !\.png$
RewriteCond %{REQUEST_URI} !\.ico$
RewriteCond %{REQUEST_URI} !\.woff$
Expand Down
2 changes: 1 addition & 1 deletion servicedesk-gui/src/pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './Login.scss';
import I18n from "../locale/I18n";
import DOMPurify from "dompurify";
import students from "../icons/chatgpt/openart-image_raw.jpg";
import {LandingInfo} from "../components/LandingInfo.jsx";
import {LandingInfo} from "../components/LandingInfo";

export const Login = () => {

Expand Down

0 comments on commit c304ee1

Please sign in to comment.