Fixup profile page html header

This commit is contained in:
Laura Hausmann 2022-02-06 04:39:38 +01:00
parent 81e48040ee
commit 1fa210e3df
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -2,7 +2,7 @@
@using RTMPDash.DataModels
@model ProfileModel
@{
ViewData["Title"] = "View";
ViewData["Title"] = Model.User;
var db = new AppDb.DbConn();
if (!db.Users.Any(p => p.Username == Model.User)) {
Response.Redirect("/");