Technical Tip: Allow to change the password when used is logged into captive portal
Description
This article describes how to change the password when the user is logged into the captive portal.
Scope
FortiGate.
Solution

The default configuration is set to disabled for expired-password-renewal.
config user password-policy
edit "PasswordPolicy"
set expire-days 26
set warn-days 21
set expired-password-renewal enable
next
end
edit "PasswordPolicy"
set expire-days 26
set warn-days 21
set expired-password-renewal enable
next
end
expire-days <----- Time in days before the user's password expires. The default value is 180.
warn-days <----- Time in days before a password expiration warning message is displayed to the user upon login. The default value is 15. Minimum value is 0 and maximum value is 30.
expired-password-renewal <----- Enable/disable renewal of a password that has already expired.
warn-days <----- Time in days before a password expiration warning message is displayed to the user upon login. The default value is 15. Minimum value is 0 and maximum value is 30.
expired-password-renewal <----- Enable/disable renewal of a password that has already expired.
