File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -338,19 +338,19 @@ func UpdateUIThemePost(ctx *context.Context) {
338
338
ctx .Data ["PageIsSettingsAppearance" ] = true
339
339
340
340
if ctx .HasError () {
341
- ctx .Redirect (setting .AppSubURL + "/user/settings/account " )
341
+ ctx .Redirect (setting .AppSubURL + "/user/settings/appearance " )
342
342
return
343
343
}
344
344
345
345
if ! form .IsThemeExists () {
346
346
ctx .Flash .Error (ctx .Tr ("settings.theme_update_error" ))
347
- ctx .Redirect (setting .AppSubURL + "/user/settings/account " )
347
+ ctx .Redirect (setting .AppSubURL + "/user/settings/appearance " )
348
348
return
349
349
}
350
350
351
351
if err := ctx .User .UpdateTheme (form .Theme ); err != nil {
352
352
ctx .Flash .Error (ctx .Tr ("settings.theme_update_error" ))
353
- ctx .Redirect (setting .AppSubURL + "/user/settings/account " )
353
+ ctx .Redirect (setting .AppSubURL + "/user/settings/appearance " )
354
354
return
355
355
}
356
356
You can’t perform that action at this time.
0 commit comments