You are here: Foswiki>Tasks Web>Item12162 (05 Jul 2015, GeorgeClark)Edit Attach

Item12162: Disable the reset password form when email is disabled.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: FoswikiUIPasswords
Branches: master
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
rather than giving the user a form, then telling them that it won't work.

-- SvenDowideit - 17 Oct 2012

This would be easy to do if EnableEmail was added to AccessibleCFG:
%IF{
  "{EnableEmail} and context passwords_modifyable"
  then="$percentINCLUDE{\"%TOPIC%\" section=\"resetPassword\"}$percent"
  else="%CHANGEPASSWORDDISABLEDMESSAGE%"
}%

Crawford, Any concerns with extending AccessibleCFG? I can't see any security implications.

-- GeorgeClark - 04 Jan 2015

Nope.

-- CrawfordCurrie - 22 Jan 2015

 

ItemTemplate edit

Summary Disable the reset password form when email is disabled.
ReportedBy SvenDowideit
Codebase 1.1.5, trunk
SVN Range
AppliesTo Engine
Component FoswikiUIPasswords
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:758f1d3296e9 distro:71566a6367da
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:758f1d3296e9 distro:71566a6367da
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy