Repository navigation
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Disable plugins
- I reproduce the issue with all plugins disabled
Is there an existing issue for this?
- I have searched the existing issues
Version
12.0.2
Bug description
When a user whose password has expired logs in, GLPI 12 shows the ReAuth "Confirmation required" prompt and, once it is confirmed, opens a full user session. The user is never sent to front/updatepassword.php, so the password expiration policy is bypassed.
In GLPI 11, the same login redirects the user straight to front/updatepassword.php, as expected.
Expected behavior: after login (and after the ReAuth step, if required), a user with an expired password is redirected to front/updatepassword.php and cannot use GLPI until the password is changed.
Actual behavior: after confirming ReAuth, the user lands on the Home dashboard with a fully working session. Only a banner says "Your password has expired. Update my password", and changing it is optional.
Screenshots:
GLPI 11 (expected): the user is sent straight to front/updatepassword.php.
GLPI 12, step 1: the ReAuth prompt (/ReAuth/Prompt) is shown instead.
GLPI 12, step 2: after confirming, the user has a full session on the Home dashboard, with only a warning banner.
Relevant log output
Page URL
No response
Steps To reproduce
- Go to Setup > Security and enable password expiration (e.g. expiration delay of 15 days). On GLPI 11 this setting is under Setup > General > Security.
- Create a local GLPI user, or pick an existing one, and make its password expired (e.g. set password_last_update in glpi_users to a date older than the expiration delay).
- Log out and log in with that user.
- GLPI 12 shows the ReAuth "Confirmation required" prompt; confirm it.
- The user gets a full session, with only an "expired password" banner, instead of being redirected to front/updatepassword.php.
- Repeat steps 1–3 on GLPI 11: the user is redirected directly to front/updatepassword.php.
Your GLPI setup information
GLPI information
GLPI: 12.0.2 ( => /var/www/glpi) Installation mode: TARBALL Current language: en_GB Source Integrity: 2 files changed A: inc/downstream.php D: install/install.php
Server
Operating system: Linux daniel 7.0.14-30-pve #1 SMP PREEMPT_DYNAMIC PMX 7.0.14-30 (2026-11-16T21:55Z) x86_64PHP: 8.4.22 fpm-fcgi
PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, imap, intl, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, snmp, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, redis, Zend OPcache
Setup: disable_functions="passthru,system,show_source,pcntl_exec" max_execution_time="300" max_input_vars="1000" memory_limit="512M" post_max_size="120M" session.cookie_secure="1" session.cookie_httponly="1" session.cookie_samesite="Strict" session.save_handler="files" upload_max_filesize="100M"
Web server: nginx/1.24.0 ()
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36
Database:
Server Software: Ubuntu 24.04
Server Version: 10.11.14-MariaDB-0ubuntu0.24.04.1-log
Server SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Parameters: glpirw@localhost:3306/glpidb
Host info: Localhost via UNIX socket
Requirements:
PHP version (8.4.22) is supported.
OS and PHP are relying on 64 bits integers.
Sessions configuration is OK.
Allocated memory is sufficient.
Following extensions are installed: dom, fileinfo, filter, libxml, simplexml, tokenizer, xmlreader, xmlwriter.
mysqli extension is installed
curl extension is installed
gd extension is installed
intl extension is installed
mbstring extension is installed
zlib extension is installed
bcmath extension is installed
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
openssl extension is installed
Database engine version (10.11.14) is supported.
Write access to log files has been validated.
Write access to /var/lib/glpi/_cache has been validated.
Write access to /var/lib/glpi/_cron has been validated.
Write access to /var/lib/glpi has been validated.
Write access to /var/lib/glpi/_graphs has been validated.
Write access to /var/lib/glpi/_lock has been validated.
Write access to /var/lib/glpi/_pictures has been validated.
Write access to /var/lib/glpi/_plugins has been validated.
Write access to /var/lib/glpi/_rss has been validated.
Write access to /var/lib/glpi/_sessions has been validated.
Write access to /var/lib/glpi/_tmp has been validated.
Write access to /var/lib/glpi/_uploads has been validated.
Security key files are accessibles.Sessions configuration is secured.
exif extension is installed
ldap extension is installed
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed
Following extensions are installed: ctype, iconv, sodium.
Write access to /var/www/glpi/marketplace has been validated.
Timezones seems loaded in database.
GLPI constants
GLPI_ROOT: "/var/www/glpi"
GLPI_VERSION: "12.0.2"
GLPI_SCHEMA_VERSION: "12.0.2@f5c81258ff0fea6419bb876b875eb658225b5fdb"
GLPI_FILES_VERSION: "12.0.2-eb8a5e13"
GLPI_MIN_PHP: "8.3"
GLPI_MAX_PHP: "8.5"
GLPI_YEAR: "2026"
GLPI_I18N_DIR: "/var/www/glpi/locales"
GLPI_SYSTEM_CRON: true
GLPI_CONFIG_DIR: "/etc/glpi"
GLPI_VAR_DIR: "/var/lib/glpi"
GLPI_LOG_DIR: "/var/log/glpi"
GLPI_ENVIRONMENT_TYPE: "production"
GLPI_MARKETPLACE_DIR: "/var/www/glpi/marketplace"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWED_PRIVATE_NETWORKS_CONTEXTS: ["Agent","Auth"]
GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d*|phar)$/i"
GLPI_TRUSTED_REVERSE_PROXIES: []
GLPI_REVERSE_PROXY_HEADERS: ["X-Forwarded-For"]
GLPI_TELEMETRY_URI: "https://telemetry.glpi-project.org"
GLPI_INSTALL_MODE: "TARBALL"
GLPI_NETWORK_MAIL: "glpi@teclib.com"
GLPI_NETWORK_SERVICES: "https://services.glpi-network.com"
GLPI_MARKETPLACE_ENABLE: 3
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MARKETPLACE_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DOCUMENTATION_ROOT_URL: "https://links.glpi-project.org"
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_DISABLE_REAUTH: false
GLPI_LOG_LVL: "warning"
GLPI_SKIP_UPDATES: false
GLPI_STRICT_ENV: false
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_CENTRAL_WARNINGS: "1"
GLPI_TEXT_MAXSIZE: "4000"
GLPI_WEBHOOK_ALLOW_RESPONSE_SAVING: "0"
GLPI_WEBHOOK_CRA_MANDATORY: false
GLPI_ALTCHA_MODE: "interactive"
GLPI_ALTCHA_COST: 5000
GLPI_ALTCHA_EXPIRATION_INTERVAL: "PT20M"
GLPI_DOC_DIR: "/var/lib/glpi"
GLPI_CACHE_DIR: "/var/lib/glpi/_cache"
GLPI_CRON_DIR: "/var/lib/glpi/_cron"
GLPI_GRAPH_DIR: "/var/lib/glpi/_graphs"
GLPI_LOCAL_I18N_DIR: "/var/lib/glpi/_locales"
GLPI_LOCK_DIR: "/var/lib/glpi/_lock"
GLPI_PICTURE_DIR: "/var/lib/glpi/_pictures"
GLPI_PLUGIN_DOC_DIR: "/var/lib/glpi/_plugins"
GLPI_RSS_DIR: "/var/lib/glpi/_rss"
GLPI_SESSION_DIR: "/var/lib/glpi/_sessions"
GLPI_TMP_DIR: "/var/lib/glpi/_tmp"
GLPI_UPLOAD_DIR: "/var/lib/glpi/_uploads"
GLPI_INVENTORY_DIR: "/var/lib/glpi/_inventories"
GLPI_THEMES_DIR: "/var/lib/glpi/_themes"
GLPI_PLUGINS_DIRECTORIES: ["/var/www/glpi/marketplace","/var/www/glpi/plugins"]
GLPI_NETWORK_API_URL: "https://services.glpi-network.com/api"
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
SQL replicas
Not active
Plugins list
activity Name: Activity Version: 3.3.0 State: Not installed Install Method: Marketplace
tam Name: TAM Version: 3.0.0-beta State: Not installed Install Method: Manual
accesstransparency Name: Access Transparency Version: 2.0.0 State: Installed / not activated Install Method: Marketplace
actualtime Name: ActualTime Version: 5.0.0 State: Installed / not activated Install Method: Marketplace
barcodeplus Name: Barcode Plus Version: 3.0.0-beta.1 State: Installed / not activated Install Method: Manual
borgbase Name: Borgbase Version: 3.0.0 State: Installed / not activated Install Method: Marketplace
costs Name: Costs Version: 5.0.0 State: Installed / not activated Install Method: Marketplace
credentials Name: Credentials Version: 1.0.1 State: Installed / not activated Install Method: Manual
escalade Name: Escalade End-Of-Life Updater Version: 3.0.0 State: Installed / not activated Install Method: Marketplace
geolocation Name: Geolocation Version: 3.0.0-beta.1 State: Installed / not activated Install Method: Manual
glpiinventory Name: GLPI Inventory Version: 1.7.0 State: Installed / not activated Install Method: Marketplace
jsaddons Name: JS Addons Version: 4.0.0 State: Installed / not activated Install Method: Marketplace
mfa Name: MFA Version: 3.0.2-beta.1 State: Installed / not activated Install Method: Manual
moregroups Name: More Groups Version: 3.0.0 State: Installed / not activated Install Method: Marketplace
moresecurity Name: More Security Version: 3.0.1-beta.1 State: Installed / not activated Install Method: Manual
moreoptions Name: MoreOptions Version: 1.0.1+glpi12 State: Installed / not activated Install Method: Marketplace
onetimesecret Name: OneTimeSecret Version: 4.0.3-beta.1 State: Installed / not activated Install Method: Manual
passwords Name: Passwords Version: 3.0.0-beta.1 State: Installed / not activated Install Method: Manual
permissions Name: Permissions Version: 4.0.0-beta1 State: Installed / not activated Install Method: Manual
stamp Name: Stamp Version: 1.0.0-beta3 State: Installed / not activated Install Method: Manual
taskdrop Name: TaskDrop Version: 4.0.0 State: Installed / not activated Install Method: Marketplace
taskview Name: TaskView Version: 4.0.0-beta.1 State: Installed / not activated Install Method: Manual
yagp Name: YAGP Version: 4.0.1 State: Installed / not activated Install Method: Marketplace
zabbix Name: Zabbix Version: 3.0.0-beta.1 State: Installed / not activated Install Method: Manual
Anything else?
No response
Activity
ppierref commentedon Dec 1, 2026
I ran the same test in version 12, and the error is reproducible.