Prepared user registration implementation

This commit is contained in:
Kai S. K. Engelbart 2020-01-18 10:34:04 +01:00
parent 34df965cdb
commit cd925bf0c9
4 changed files with 9 additions and 3 deletions

View File

@ -28,5 +28,11 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

View File

@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>com.github.informatik-ag-ngl</groupId> <groupId>com.github.informatik-ag-ngl</groupId>
<artifactId>envoy-common</artifactId> <artifactId>envoy-common</artifactId>
<version>develop-SNAPSHOT</version> <version>e5c67b8</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -87,7 +87,7 @@ public class LoginDialog extends JDialog {
JButton okButton = new JButton("OK"); JButton okButton = new JButton("OK");
okButton.addActionListener((evt) -> { okButton.addActionListener((evt) -> {
try { try {
credentials = new LoginCredentials(textField.getText(), passwordField.getPassword()); credentials = new LoginCredentials(textField.getText(), passwordField.getPassword(), false);
dispose(); dispose();
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {
e.printStackTrace(); e.printStackTrace();

View File

@ -41,7 +41,7 @@ public class MessageListRenderer extends JLabel implements ListCellRenderer<Mess
final String text = value.getText(); final String text = value.getText();
final String state = value.getStatus().toString(); final String state = value.getStatus().toString();
final String date = new SimpleDateFormat("dd.MM.yyyy HH.mm").format(value.getDate()); final String date = new SimpleDateFormat("dd.MM.yyyy HH.mm").format(value.getCreationDate());
// Getting the MessageColor in the Chat of the current theme // Getting the MessageColor in the Chat of the current theme
String textColor = Settings.getInstance().getThemes().get(Settings.getInstance().getCurrentTheme()).getMessageColorChat().toHex(); String textColor = Settings.getInstance().getThemes().get(Settings.getInstance().getCurrentTheme()).getMessageColorChat().toHex();