Revision: 4003
Author: [email protected]
Date: Tue Nov 30 15:20:13 2010
Log: Added a friendly message for users to re-log into open projects after
they successfully change their password. It would be nicer if the user's
password was automatically updated but it would take more time than we have
at current.
http://code.google.com/p/power-architect/source/detail?r=4003
Modified:
/trunk/src/main/java/ca/sqlpower/architect/enterprise/ArchitectClientSideSession.java
=======================================
---
/trunk/src/main/java/ca/sqlpower/architect/enterprise/ArchitectClientSideSession.java
Wed Nov 10 12:11:22 2010
+++
/trunk/src/main/java/ca/sqlpower/architect/enterprise/ArchitectClientSideSession.java
Tue Nov 30 15:20:13 2010
@@ -713,6 +713,14 @@
UserPromptResponse.OK,
"OK", "OK").promptUser("");
}
+ } else {
+ upf.createUserPrompter(
+ "Password successfully changed. Please log into
open projects" +
+ " with your new password.",
+ UserPromptType.MESSAGE,
+ UserPromptOptions.OK,
+ UserPromptResponse.OK,
+ "OK", "OK").promptUser("");
}
} catch (AccessDeniedException ex) {
logger.warn("Failed password change", ex);