Add support page, admin features, and auth hardening.
Rename public affiliate route to /support with localized nav labels, and include affiliate/social/wallpaper admin, 2FA login, and related site updates. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
202dc16a52
commit
fc45c35dbe
@@ -13,13 +13,21 @@ namespace atakanozbancom
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
// Keep old /affiliate URLs working
|
||||
routes.MapRoute(
|
||||
name: "AffiliateRedirect",
|
||||
url: "affiliate/{action}/{id}",
|
||||
defaults: new { controller = "support", action = "Index", id = UrlParameter.Optional },
|
||||
new[] { "atakanozbancom.Controllers" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Default",
|
||||
url: "{controller}/{action}/{id}",
|
||||
defaults: new { controller = "Main", action = "Index", id = UrlParameter.Optional },
|
||||
defaults: new { controller = "main", action = "Index", id = UrlParameter.Optional },
|
||||
new[] { "atakanozbancom.Controllers" }
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user