X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FEditProfilePage.java;h=98bc49f2ef30b832e23810c59009dc55ba1b1a60;hb=cc0576f6c8c8ec7941fdcd2e6f4e78a61e14afa4;hp=fc1a0bbf620040d5bb664f0d81c890c12504456f;hpb=396fc01133dbcb6dfe48bec4e5263b6240407449;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java b/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java index fc1a0bb..98bc49f 100644 --- a/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java +++ b/src/main/java/net/pterodactylus/sone/web/EditProfilePage.java @@ -84,7 +84,7 @@ public class EditProfilePage extends SoneTemplatePage { } currentSone.setProfile(profile); webInterface.getCore().saveSone(currentSone); - throw new RedirectException("index.html"); + throw new RedirectException("editProfile.html"); } else if (request.getHttpRequest().getPartAsStringFailsafe("add-field", 4).equals("true")) { String fieldName = request.getHttpRequest().getPartAsStringFailsafe("field-name", 256).trim(); try {